There's more than one way to do things | |
PerlMonks |
Re: In search of a better way to trim stringby Jasper (Chaplain) |
on Jul 19, 2004 at 10:51 UTC ( [id://375519]=note: print w/replies, xml ) | Need Help?? |
Alternative with regex:
I think has the same behaviour as the others. Not tested fully. Not that I think it's any faster than any substr method, but it's an alternative.
In Section
Seekers of Perl Wisdom
|
|