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
ord « String « Perl
Perl
String
ord
1.
print ord 'A';
2.
print ord 'ABC';
3.
find the character's value by using the ord() function
4.
Using the ord function to the get the ASCII code value