Perl Programming/Keywords/lc

From Wikibooks, open books for an open world
Jump to navigation Jump to search
Previous: last Keywords Next: lcfirst

The lc keyword[edit | edit source]

lc is a function that returns a lowercased version of the EXPRESSION. If no EXPRESSION has been entered, $_ contents are used. The result depends on which code is used for the strings on the system.

Syntax[edit | edit source]

  lc EXPRESSION
Previous: last Keywords Next: lcfirst