Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Chomping most of a _long_ text stringby davidrw (Prior) |
on May 29, 2005 at 18:52 UTC ( [id://461559]=note: print w/replies, xml ) | Need Help?? |
Im not sure if this is any better performance-wise than the regex suggestions, but you could use split:
This works better if $msg is a single email at a time, though you could split a whole inbox as well...
In Section
Seekers of Perl Wisdom
|
|