RE: spaces in a variable

2002-10-08 Thread Toby Stuart
> -Original Message- > From: Javeed SAR [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 09, 2002 5:05 PM > To: [EMAIL PROTECTED] > Subject: spaces in a variable > > > Hi, > > How to remove spaces in a variable? > For eg if i have variable

spaces in a variable

2002-10-08 Thread Javeed SAR
Hi, How to remove spaces in a variable? For eg if i have variable $te $te = $attr_tag . $date; chomp$te; print "$te"; Gives me output as follows: SYNC_CHECKWed Oct 9 12:20:53 2002 I want to remove all the spaces in output variable $te. Regards javeed