|
|
Question : Convert ascii number to character
|
|
I am looking for a perl 4 function similar to the basic chr$ fucntion. I want to convert a number to it's ascii equivalent character.
ie $char = something(number from 0-255) if the right side is 65 I want the left side to be "A" etc.
|
Answer : Convert ascii number to character
|
|
$char = pack("C",$number);
|
|
|
|