Change your list delimiter so a comma isn't interpreted as a delimiter.
Check out listChangeDelims() (or something like that)

..:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com

-----Original Message-----
From: Robert Harrison [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 25, 2008 4:50 PM
To: CF-Talk
Subject: Replace comma in replace list

How do I indicate a comma in a replace list so I can replace the comma?

Example:
        <cfset new_var="#ReplaceList(trim(my_var), "##,"",%,
,/,\,*,?,<,>,|,:,$,.,',&,@,#chr(44)#",
"_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_")#">

chr(44) is the comma, but that doesn't work and neither does ,,.


Robert B. Harrison
Director of Interactive services
Austin & Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119 
F : 631.434.7022
www.austin-williams.com

Great advertising can't be either/or... It must be &.





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308151
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to