in reply to Re: Re: Re: Replacing a given character starting with the xth occurence in a string
in thread Replacing a given character starting with the xth occurence in a string

Also worth noting that for single character translations like this, tr/// is much more efficient than s///.

--
<http://www.dave.org.uk>

"Perl makes the fun jobs fun
and the boring jobs bearable" - me

  • Comment on Re: Re: Re: Re: Replacing a given character starting with the xth occurence in a string