Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Pulling white space off before/after string?

by chromatic (Archbishop)
on Apr 17, 2007 at 19:18 UTC ( [id://610623]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # trim whitespace
    $string =~ s/^\s+//;
    $string =~ s/\s+$//;
    

Log In?
Username:
Password:

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

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

    No recent polls found