R3m/framework Function reference string.uppercase.word

{string.uppercase.word(String $string, String $delimiter=" \t\r\n\f\v")}

Make a string's first character uppercase of each word.

The definition of a word is any string of characters that is immediately after any character listed in the delimiter parameter.
(By default these are: space, form-feed, newline, carriage return, horizontal tab, and vertical tab).

Note that 'alphabetic' is determined by the current locale.
This means that e.g. in the default "C" locale, characters such as umlaut-A (Ä) will not be converted.

Returns the resulting string.

More information:


Last modified: 2021-06-07

© 2021 universeorange.com