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?"
StringUtil Class | Sitecore Namespace