The Cusp of Helix

Reference of Intact Case
[uc_first]

(string) uc_first (delimiter = '_')

First word to capitalize, even if it was acronym.

Parameters:

nametypedefaultcaption
delimiterstring'_'Delimiter.

Returns:

  • (string) — Capitalized String.

Author:

  • StewEucen

Since:

  • Version 1.0.0

Examples:

"highClass".uc_first() #=> "HighClass" "xml_HTMLRequest".uc_first() #=> "XML_HTMLRequest"