(string) lcFirst ($haystack, [$delimiter = '_'])
First word to uncapitalize, even if it was acronym.
Parameters:
name | type | default | caption |
---|---|---|---|
$haystack | string | String to Convert. | |
$delimiter | string | '_' | 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"