Look at the replace() function.  It will do what you are trying to
accomplish.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of phumes1
Sent: Monday, June 03, 2002 12:25 PM
To: [EMAIL PROTECTED]
Subject: Removing blanks from string


Hi,

I have the following variable that could contain many ", " (comma and
word 
space) occurrences.

How can I remove all the "word spaces" from the string?

#filelist# = "1, 2, 5, 8, 10, 15, 40, 120, 121"

Required output:

1,2,5,8,10,15,40,120,121 (no word spaces)




+-----------------------------------------------------------------------
------------+ 

Philip Humeniuk
[EMAIL PROTECTED]
[EMAIL PROTECTED]
+-----------------------------------------------------------------------
-------------+



------------------------------------------------------------------------
-
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info:
www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org


-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to