Checkout perlfaq4, you may also want to have a look at perlre and perlretut
The size of the strings may change the way you do it, because capturing a 10Gb string just to remove spaces from the start and end may not be the best approach.
Also, what have you tried so far?
In reply to Re: Pulling white space off before/after string?
by f00li5h
in thread Pulling white space off before/after string?
by ecuguru
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |