capitalize()

Return a copy of the string with only its first character capitalized.

For 8-bit strings, this method is locale-dependent.