Function capitalize
Returns a copy of str with the first character converted to uppercase and the remainder to lowercase.
Parameters summary
string |
$str |
|
boolean |
$preserve_str_end = false |
Whether the string end should be preserved or downcased. |
Return value summary
string
|
string |