ucfirst

Quick and dirty hack for making the first character of a string upper case

Note: The first character must be lower case

string
ucfirst
(
string str
)

Parameters

str string

string to operate on

Return Value

Type: string

Same string but with the first character using uppercase

Meta