I got it.

Used #ReplaceList(filelist,", ",",")


At 12:25 PM 6/3/2002 -0500, you wrote:
>You could use replace() or you could loop over the list, trim()'ing and
>building a new list.
>
>---
>Billy Cravens
>Web and Software Consulting
>www.Architechx.com
>
>
>-----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


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

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

Reply via email to