>Whats the easist way to strip the last "\" from var1 and insert a ","
>(comma)?
>  
>

try:

ReReplace(yourstring,"\\$",",")

The $ character in regular expressions represents the end of a string, 
and the \ had to be escaped (that's why it's there twice).

______________________________
Pete Freitag
http://www.cfdev.com/
Author of CFMX Developers Cookbook
http://www.amazon.com/exec/obidos/ASIN/0672324628/netgig-20


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137955
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Reply via email to