(string) uc_first (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
Examples:
"highClass".uc_first() #=> "HighClass"
"xml_HTMLRequest".uc_first() #=> "XML_HTMLRequest"