Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Strip leading and trailing blanks

by arthas (Hermit)
on Jul 29, 2003 at 22:45 UTC ( #279021=note: print w/replies, xml ) Need Help??


in reply to Strip leading and trailing blanks

Node How do I remove whitespace at the beginning or end of my string? is the Q&A's section answer to your problem. You'll find several ways to do it there.

If you're interested in an optimized version for trailing spaces (with discussion), try node Removing Trailing Whitespace: Multiple ways..

Michele.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://279021]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2019-05-22 05:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (138 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!