lc#

Synopsis#

$lower = lc($string);
$lower = lc('HELLO');   # "hello"

Description#

Converts a string to lowercase.

Returns a lowercased copy of STRING. For ASCII input, an in-place byte mutation fast path avoids allocation when a TARG pad slot is available. For Unicode input, Rust’s to_lowercase() is used, which handles case mappings that change byte length.

See also#

uc, ucfirst, lcfirst