capitalize

Converts the first character of a string to upper case and the remaining to lower case.

Example