public native toTitle() as String
Returns a title-cased copy of this string. Unicode letters remain in the same word; non-letters begin a new word. Uses full, locale-independent Unicode mappings, including expansions.
A new title-cased string.
assert "élève français".toTitle() == "Élève Français"