Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Strip leading and trailing blanks

by arthas (Hermit)
on Jul 29, 2003 at 22:45 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://279021]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2024-04-25 08:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found