Method String.capitalize()
- Method capitalize
stringcapitalize(stringstr)- Description
Convert the first character in
strto upper case, and return the new string.- See also
string capitalize(string str)
Convert the first character in str to upper case, and return the
new string.