Angerstein said:
> Hello,
>
> I have a stupid Problem:
> I have to translate a lot of ASCII-Codenumbers (49,54,110....) into
> Charakters.
>
> How can I do this? Do I have to make a
>
> if ($number == 49){ print ']';}
>
> Or is there an better, faster, smarter way.
>
> I could not find anything about that, maybe there is a possibility with
> pack/unpack or printf??

I suppose you could use %c with printf or c with pack.  Otherwise look at
chr().

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to