Home
Perl
Array
CGI
Class
Data Type
Database
File
GUI
Hash
Language Basics
Network
Regular Expression
Report
Statement
String
Subroutine
System Functions
Win32
XML
Menu
print ord 'ABC'; : ord « String « Perl
Perl
String
ord
print ord 'ABC';
print ord
'ABC'
;
Related examples in the same category
1.
print ord 'A';
2.
find the character's value by using the ord() function
3.
Using the ord function to the get the ASCII code value