$string =~ s/^\s+//; $string =~ s/\s+$//;
-sauoq "My two cents aren't worth a dime.";
In reply to Re: How to eliminate white spaces,tabs,new lines at thestart and end of a long string ??
by sauoq
in thread How to eliminate white spaces,tabs,new lines at thestart and end of a long string ??
by sugarkannan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |