Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Replacing a given character starting with the xth occurence in a stringby Zaxo (Archbishop) |
on May 22, 2001 at 07:21 UTC ( [id://82155]=note: print w/replies, xml ) | Need Help?? |
Here's another way that avoids a lot of fuss. It's rather like quent's but avoids It also works with multicharacter substitutions and, with some odd results unless Against the bbfu benchmark posted above (corrected &mine output) I get:
I must to agree with MeowChow that this is a litmussy kind of question. After Compline,
In Section
Seekers of Perl Wisdom
|
|