NOTE: This method is now obsolete.
Use StringUtil.Capitalize instead.
Uppercases the first letter of a string and lowercases the remaining letters.
The capitalized string.
Sentences are not taken into account.
string text = MainUtil.Capitalize("HELLO WORLD."); // "Hello world"
string text = MainUtil.Capitalize("HELLO. HOW ARE YOU?"); // "Hello. how are you?"
MainUtil Class | Sitecore Namespace