![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re: how to remove characters before and after a search pattern in a string?by thunders (Priest) |
on Mar 03, 2010 at 18:49 UTC ( [id://826493]=note: print w/replies, xml ) | Need Help?? |
since your pattern is a simple string, you can use index and substr.
In Section
Seekers of Perl Wisdom
|
|