Function UCFIRST
Capitalizes the first character of the given string.
Example
ucfirst(string string,[boolean doAll]):string
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
string | string | Yes | the input string |
doAll | boolean | No | if true, then every word is capitalized, where a new word is defined as alpha characters that come after whitespace, a dot [.], a dash [-], or (parenthesis) |