If I have a string "HELLO WORLD"
How can I lowercase every letter after the first one but keep the camel casing so: I get:
Hello World
System.Globalization.CultureInfo.CurrentCulture.TextInfo.ToTitleCase("HELLO WORLD".ToLower())
Use Proper Case
strName = StrConv(strName, VbStrConv.ProperCase)
You might want to take a look at this class in the .NET Framework
System.Globalization.TextInfo.ToTitleCase()
http://msdn.microsoft.com/en-us/library/system.globalization.textinfo.totitlecase.aspx
"Generally, title casing converts the first character of a word to uppercase and the rest of the characters to lowercase...."
You might have to do a .ToLower() first according to the docs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With