in reply to Pulling white space off before/after string?
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?
|
|---|