in reply to homepage.vbs decode
If you need other ranges, they are easily made.tr/\017\020\021\022/\012\015\040\011/; #Gets the subst tr/\023-\200/\021-\176/; #converts ranges
Jeroen<br. "We are not alone"(FZ) Oops.. alfie is right. Perl indeed only uses the first occurence of a char in the 'search' string, it is documented in perlop:
If multiple transliterations are given for a character, only the first one is used: tr/AAA/XYZ/ will transliterate any A to X.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: homepage.vbs decode
by alfie (Pilgrim) on May 10, 2001 at 19:29 UTC |