$_='abc, def,  xyz, mno';
s/,\s+/,/g;

On Fri, 2 Sep 2005 20:53:52 +0530, [EMAIL PROTECTED] said:
> 
> Hi Perlers
> 
> 
> I have a file like this in which data is 
> abc,def,xyz,mno, 
> 
> means the delimter is comma here
> 
> but in the string if it comes abc, def,  xyz, mno
> 
> then plz tell me how to remove this white space.
> 
> 
> Mayank Ahuja
> Assistant System Engineer
> Tata Consultancy Services Limited
> Ph:- 044-55555816
> Cell:- 9283199460
> Mailto: [EMAIL PROTECTED]
> Website: http://www.tcs.com
> 
> Notice: The information contained in this e-mail message and/or
> attachments to it may contain confidential or privileged information.  
> If you are not the intended recipient, any dissemination, use, review,
> distribution, printing or copying of the information contained in this
> e-mail message and/or attachments to it are strictly prohibited.   If you
> have received this communication in error, please notify us by reply
> e-mail or telephone and immediately and permanently delete the message
> and any attachments.  Thank you
-- 
  Jeff Pan
  [EMAIL PROTECTED]

-- 
http://www.fastmail.fm - I mean, what is it about a decent email service?


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to