Is there a way to chomp all whitespace both at the beginning and end of
a string?  I was thinking of using a regexp like s[^\s*?][]sg and
s[\s*?$][]sg;  Is there a better way?  (I'm thinking of PHP's trim
function)

-Dan


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to