If you know that the only double-quote will be that last character, you can do:
#replace(myString, """", "", "all")# (i think that should work...escaping double quotes inside of double quotes always fries my brain). You can also use a conditional to check to see if the last character is a double-quote...and if so, remove that character: <cfif right(myString, len(myString) IS """"> <cfset myString = right(myString, len(myString)-1)> </cfif> (same caveat applies re: escaping the quote :) hth, charlie -----Original Message----- From: Robert Orlini [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 6:59 AM To: CF-Talk Subject: strip quotes Hello, I know this is an easy one, but I don't use CF all the time so it escapes me. How do I strip quotes from a string? It appears towards the end; ie: TID=227" Do I use rtrim? Thanks. Robert Orlini HWW ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4