The ToTitleCase()
function converts every first character of a word to uppercase.
Syntax
ToTitleCase(text)
Returns
A copy of text
where all words start with an uppercase character.
Parameters
text
a text.
Examples
ToTitleCase("The wind in the willows") /* The Wind In The Willows */
ToTitleCase("esio trot") /* Esio Trot */