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

Re^2: Removing whitespace

by Anonymous Monk
on Dec 09, 2010 at 22:26 UTC ( #876342=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $data="  abc  "
    
    # Remove all spaces
    $data=~ s/ //g;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2016-06-26 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (328 votes). Check out past polls.