StrCapitalize

str StrCapitalize(str s)

Description

Returns s with the first character uppercase and the rest lowercase.

To capitalize each word, use StrCapitalizeWords.

Examples

StrCapitalize("hello world") -> "Hello"
StrCapitalize("HELLO WORLD") -> "Hello world"