klyn.String.toTitle
method
public native toTitle() as String
Description

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.

Returns

A new title-cased string.

Example

assert "élève français".toTitle() == "Élève Français"