lcfirst
Lowercases the first character of a string.
Returns a copy of STRING with the first character converted to
lowercase and all other characters left unchanged. For ASCII first
characters, a single-byte in-place mutation is used. For Unicode
first characters, to_lowercase() may change the byte length.
Returns an empty string when given an empty string.
Synopsis
$result = lcfirst($string);
$result = lcfirst('HELLO'); # "hELLO"
Implementation Notes
perl5 reference:
pp.c:4100S_do_ucfirst (shared ucfirst/lcfirst function). Non-UTF-8 locale path: use libc::tolower on first byte. perl5:pp.c:4228-4233– toLOWER_LC for first byte.