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.
In reply to Re: tr/<mixed string>/<UPPER STRING>/
by rob_au
in thread tr/<mixed string>/<UPPER STRING>/
by curtisb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |