thanks -----Original Message----- From: Medic [mailto:[email protected]] Sent: Thursday, February 25, 2010 9:04 AM To: cf-community Subject: Re: strip quotes
This is a little late, but gmail didn't give me any mail at all yesterday. Veeerd. Anyway I usually like to use the char code to do this stuff. This way there's no probs at all. Like zo: #replace(getpayment.eventtitle,chr(34), "", "all")# On Wed, Feb 24, 2010 at 11:40 AM, Scott Raley <[email protected]> wrote: > > Yup that worked and so did htmleditformat. Thanks > > -----Original Message----- > From: Duane [mailto:[email protected]] > Sent: Wednesday, February 24, 2010 11:39 AM > To: cf-community > Subject: Re: strip quotes > > > i think you need to double up the quotes > > #replace(getpayment.eventtitle, """", "", "all")# > > i havent tested it but IIRC it shoudl work > > ----- Original Message ----- > From: "Scott Raley" <[email protected]> > To: "cf-community" <[email protected]> > Sent: Wednesday, February 24, 2010 12:05 PM > Subject: strip quotes > > > > > > Okay I've been using this to get rid of apostrophes and other things > that > > break forms > > > > > > > > #replace(getpayment.eventtitle, "'", "", "all")# > > > > > > > > But now I need to strip quotes since that has arisen and I get an error > if > > > I > > put in > > > > > > > > #replace(getpayment.eventtitle, """, "", "all")# > > > > > > > > So whats the code I need to use? > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-community/message.cfm/messageid:312640 Subscription: http://www.houseoffusion.com/groups/cf-community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
