good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Remove substringby cees (Curate) |
on Jun 26, 2005 at 15:59 UTC ( [id://470044]=note: print w/replies, xml ) | Need Help?? |
Just to add to this answer, both of those solutions will alter the original string. If you do not want the original string to be altered, then make a copy first...
In Section
Seekers of Perl Wisdom
|
|