in reply to Re: Replace the nth occurence
in thread Replace the nth occurence
Have you tried to replace the 2nd comma in the following string using your code? Seems there is room for improvement...
my $str = "aa,bb,cc,dd";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Replace the nth occurence
by ColonelPanic (Friar) on Nov 21, 2012 at 08:58 UTC |
In Section
Seekers of Perl Wisdom