$text = " The perl "; # remove leading whitespace $text =~ s/^\s+//; # remove trailing whitespace $text =~ s/\s+$//;
In reply to Re: removing the white spaces
by derby
in thread removing the white spaces
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |