in reply to Howto strip 42 from comma separated list using s///
# updated, thanks to PerlMouse -- not using \b, though! $str =~ s/(^|,)42(,|$)/$1 && $2/e
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Howto strip 42 from comma separated list using s///
by Perl Mouse (Chaplain) on Nov 03, 2005 at 13:42 UTC | |
|
Re^2: Howto strip 42 from comma separated list using s///
by svenXY (Deacon) on Nov 03, 2005 at 13:34 UTC | |
by japhy (Canon) on Nov 03, 2005 at 13:37 UTC | |
|
Re^2: Howto strip 42 from comma separated list using s///
by ady (Deacon) on Nov 03, 2005 at 13:39 UTC |