in reply to tr/<mixed string>/<UPPER STRING>/
The transliteration operator (tr) is designed to work with lists of characters, replacing the character in the search list with the corresponding character in the replacement list. Additionally a character range can be specified with a hyphen, such that tr/A-E/0-5/ is equivalent to tr/ABCDE/01234/ - See perlop for details.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: tr/<mixed string>/<UPPER STRING>/
by curtisb (Monk) on Sep 26, 2002 at 14:31 UTC | |
|
Re: Re: tr/<mixed string>/<UPPER STRING>/
by kryberg (Pilgrim) on Sep 26, 2002 at 15:29 UTC |