capitalize
Capitalizes the first character of a string.
Example: hello, world!
->Hello, world!
Return
a new string with the first character capitalized
Parameters
string
string to capitalize
Chaining
This function is designed to be chained with other function calls:String::capitalize -> <Error class: unknown class>
Content copied to clipboard