Method String.capitalize() Method capitalize string capitalize(string str) Description Convert the first character in str to upper case, and return the new string. See also lower_case(), upper_case()