Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Removing whitespace

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


in reply to Re: Removing whitespace
in thread Removing whitespace

It can be done like this -

$data=" abc " # Remove all spaces $data=~ s/ //g;

Output - abc

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://876342]
help
Chatterbox?
[beech]: and again a check on chatterbox sidebar, what is expandability
beech me me me me me me testing chatterbox sidebar
beech my my /me me me me me me me chatterbox sidebar
beech testing chatterbox sidebar
[beech]: and something else

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2017-03-27 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (324 votes). Check out past polls.