ActiveState homepage
docs.activestate.com
ActivePerl 5.28 Documentation
  • Get ActivePerl
      Release notes Windows installation Linux Installaton macOS Installation License
  • Get Started
      Windows Perl 5.28 docs
  • Contact Us

ord - perldoc.perl.org
Home  > Language reference > Functions > ord
Perl 5 version documentation

ord

Perl functions A-Z | Perl functions by category | The 'perlfunc' manpage
  • ord EXPR

  • ord

    Returns the numeric value of the first character of EXPR. If EXPR is an empty string, returns 0. If EXPR is omitted, uses $_ . (Note character, not byte.)

    For the reverse, see chr. See perlunicode for more about Unicode.

Documentation built with Hugo using the Material theme.
ActiveState Platform   Downloads   Community   Code Recipes  
© 2020 ActiveState Software Inc. All rights reserved. Trademarks. Privacy Policy.