Extracted from Pike v8.0 release 276 as of 2016-07-30.
   

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()