VB.NET: How to camel case words that are uppercased VB.NET: How to camel case words that are uppercased sql sql

VB.NET: How to camel case words that are uppercased


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.