ASP Shopping Cart
,
Forum
&
BBS
- all for $20 from
CodeToad Plus!
Home
||
ASP
|
ASP.Net
|
C++/C#
|
DHTML
|
HTML
|
Java
|
Javascript
|
Perl
|
VB
|
XML
||
CodeToad Plus!
||
Forums
||
RAM
Search Site:
CodeToad Forums
»
Perl
» hex code of a ASCII char
Search Forums:
hex code of a ASCII char
perl2user
at 15:10 on Thursday, January 15, 2009
Hi,
i'd like to know how to get hex code of an ASCII char.
Ex: 'a' => 61
cvv3@yahoo.com
Re: hex code of a ASCII char
S_Flex
at 12:54 on Friday, February 27, 2009
this is one way.
my $The_Letter = 'a';
(my $str = $The_Letter) =~ s/(.|\n)/sprintf("%02lx", ord $1)/eg;
print $str;
Re: hex code of a ASCII char
perl2user
at 14:30 on Saturday, February 28, 2009
thx, it was helpfull
Useful Links
Top Web Hosting
Reseller Hosting
Web+Hosting=$1.66
Web Hosting
Web Hosting
Hosting
Windows Hosting
Web Hosting Providers
Advertise here
CodeToad Experts
Can't find the answer?
Our
Site experts
are answering questions for free in the
CodeToad forums
//
Recent Forum Threads
•
Re: hex code of a number
•
Re: hex code of a ASCII char
•
Re: merge two files by ID
•
Re: number of regex match
•
Re: parser project needs perl programmer
•
Re: perl script to program
•
Re: help me on say_aplha plzzzzz
•
Re: how to install win32::GuidGen on windows 64 bit OS
•
how can I.....web crawling for vertical job search engine
Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text
submit a link
-
privacy
-
contact
-
advertise
-
hot links
-
link to us
-
submit your article
© Copyright codetoad.com 2001-2009