in reply to Re: Removing whitespacein thread Removing whitespace
It can be done like this -
$data=" abc "
# Remove all spaces
$data=~ s/ //g;
Output - abc
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (351 votes). Check out past polls.