You've got the same idea I have, but I'm too regex newbie to figure out the differences. Can you tell me if there are any differences in our regexes?$buff =~ s/ *$//; #Remove Trailing Spaces $buff =~ s/^ *//; #Remove Leading Spaces
In reply to Re^2: Pulling white space off before/after string?
by ecuguru
in thread Pulling white space off before/after string?
by ecuguru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |