onlyIDleft has asked for the wisdom of the Perl Monks concerning the following question:
I wish to transliterate only a sub-string in a text rather than all of the text. I know how to use tr and substr, but my solution combining these two is clumsy at best. Is there one function or operator that can achive transliteration, but specifically on just a range within a string, rather than on the whole string?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: transliterate a sub-string
by johngg (Canon) on Jan 15, 2013 at 23:07 UTC | |
by grondilu (Friar) on Jan 16, 2013 at 07:18 UTC | |
by Anonymous Monk on Jan 16, 2013 at 09:05 UTC |