/ Published in: C#

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
string strLow = "lower case"; string strT = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(strLow); Console.WriteLine("Lower Case to Title Case: " + strT); string strCap = "UPPER CASE"; strT = CultureInfo.CurrentCulture.TextInfo.ToTitleCase(strCap.ToLower()); Console.WriteLine("Upper Case to Title Case: " + strT);
URL: http://www.devcurry.com/2009/12/convert-lowercase-and-uppercase-to.html
Comments
