Perl Programming/Keywords/ucfirst

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

The ucfirst keyword

[edit | edit source]

ucfirst returns EXPRESSION with the first character in uppercase.

Syntax

[edit | edit source]
  uc EXPRESSION

See also

[edit | edit source]
Previous: uc Keywords Next: umask