Howdy, I would like to remove all the spaces & tabs from a variable. my($word) = " Detail Design Activity Included ";
$word =~ s/^\s*(\D*)\s*$/$1/; printf "word=$word#\n"; word=Detail Design Activity Included # the above stuff is the output and i'm stil not able to get the trailing blanks. After i'm done with this,. how can i remove the intermediate blanks which occur?? Is it best to store in a array and then join??? regards -ajey -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>