in reply to Re^2: How to make this substitutions without splitting the strings? (tr/// behavior)
in thread How to make this substitutions without splitting the strings?
Do you know of any documentation of this "leftmost match" feature in the tr/// built-in?From perlop:
"If multiple transliterations are given for a character, only the first one is used:
tr/AAA/XYZ/
will transliterate any A to X."
In Section
Seekers of Perl Wisdom