The Cusp of Helix

Reference of Intact Case
[ucFirst]

(string) ucFirst (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

Aliases:

  • toUpperCaseFirst

Examples:

"highClass".ucFirst() //=> "HighClass" "xml_HTMLRequest".ucFirst() //=> "XML_HTMLRequest"