String.toTitleCase
toTitleCase() -> string
Description
Convert every word in the string to title case, which is: Upper-case first character, followed by all lower-case characters.
'this is a title'.toTitleCase() //= 'This Is A Title'
Convert every word in the string to title case, which is: Upper-case first character, followed by all lower-case characters.
'this is a title'.toTitleCase() //= 'This Is A Title'