CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: General Discussions: General Questions:
hex code of a ASCII char

 



perl0user
Novice

Jan 15, 2009, 8:19 AM

Post #1 of 2 (3076 views)
hex code of a ASCII char Can't Post

Hi,
i'd like to know how to get hex code of an ASCII char.
Ex: 'a' => 61

cvv3@yahoo.com

Smile


gnix
Novice

Feb 19, 2009, 3:14 AM

Post #2 of 2 (3016 views)
Re: [perl0user] hex code of a ASCII char [In reply to] Can't Post


Code
perl -e 'print ord("A")'


gnix

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives