CapitalizationMode
A mode in which a word should be capitalized.
Parameters
descriptor
the name of the capitalization mode
transform
the function which capitalizes the given string to the mode's format
Entries
FIRST_LETTER
Link copied to clipboard
FIRST_LETTER("first letter", { string -> string.split(' ').joinToString(" ") { it.toSentenceCase() } })
Content copied to clipboard
Makes the first letter of each word uppercase.
Types
Functions
Properties
Sources
jvm source
Link copied to clipboard