Version: v0.8.1 - Beta.  We welcome contributors & feedback.

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'

See Also