Try ## > -----Original Message----- > From: Richard Crawford [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 07, 2005 1:20 PM > To: CF-Talk > Subject: Escaping # > > > I have to do something like this: > > replace "bob #1" with "bob \#1" > > I tried, > > <cfset downLoadFile = replace(attachment.attName, "\#", "\\#", "all")> > > But that only gave me an error; I suspect that CF is still trying to > process the octothorpe as a variable delimiter. Is there a way to > escape the # so that I can include a literal # in my replace function? > > > -- > Richard S. Crawford > Programmer III > UC Davis Extension Distance Education Group > (http://unexdlc.ucdavis.edu) 2901 K Street, Suite 200C > Sacramento, CA 95816 (916)327-7793 > > >
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201911 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

