Apr 4, 2007 #1 BIS Technical User Jun 1, 2001 1,893 NL Hallo Again... I have this to remove trailing spaces: # Remove trailing spaces. { sub(/[ \t]+$/, "") } How would I remove leading spaces? (Yes I am getting tired...)
Hallo Again... I have this to remove trailing spaces: # Remove trailing spaces. { sub(/[ \t]+$/, "") } How would I remove leading spaces? (Yes I am getting tired...)
Apr 4, 2007 1 #2 PHV MIS Nov 8, 2002 53,708 FR { sub(/^[ \t]+/, "") } Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886 Upvote 0 Downvote
{ sub(/^[ \t]+/, "") } Hope This Helps, PH. Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
Apr 4, 2007 Thread starter #3 BIS Technical User Jun 1, 2001 1,893 NL Thanks PHV - much appreciated.... Upvote 0 Downvote