Won't work for EBCDIC, but I'm guessing that's not a widespread problem :)my $char = 'A'; my $num = -64 + ord uc $char;
In reply to Not under EBCDIC, but not a worry
by RMGir
in thread translate a character into a number
by NaSe77
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |