(string) ucFirst (delimiter)
First word to capitalize, even if it was acronym.
Parameters:
name | type | default | caption |
---|---|---|---|
delimiter | string | '_' | Delimiter. |
Returns:
- (string) — Capitalized String.
Author:
- StewEucen
Since:
- Version 1.0.0
Aliases:
- toUpperCaseFirst
Examples:
"highClass".ucFirst() //=> "HighClass"
"xml_HTMLRequest".ucFirst() //=> "XML_HTMLRequest"