The Cusp of Helix

Reference of Intact Case
[lcFirst]

(string) lcFirst ($haystack, [$delimiter = '_'])

First word to uncapitalize, even if it was acronym.

Parameters:

nametypedefaultcaption
$haystackstringString to Convert.
$delimiterstring'_'Delimiter.

Returns:

  • (string) — Uncapitalized String.

Author:

  • StewEucen

Since:

  • Version 1.0.0

Examples:

use StewEucen\Acts\IntactCase IntactCase::lcFirst('StudlyCaps') //=> "studlyCaps" IntactCase::lcFirst('UIView') //=> "ui_View"