No such thing as a small change | |
PerlMonks |
transliterate a sub-stringby onlyIDleft (Scribe) |
on Jan 15, 2013 at 23:00 UTC ( [id://1013467]=perlquestion: print w/replies, xml ) | Need Help?? |
onlyIDleft has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
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?
Back to
Seekers of Perl Wisdom
|
|