On Thu, 20 Jun 2002 16:40:28 -0400, in cf-talk you wrote: >solved it......are single quotes always a viable substitute for double >quotes within functions....????
Yes, I use them most of the time. They're also great for a situation such as this. However, you're still stripping [space][doublequote][space] instead of just stripping double quotes. Is that really what you want to do? Spaces inside quotes are _not_ ignored. Jamie > >this line of code work > >#Replace(myQuery.data, ' " ', "", "All" )# > > >----- Original Message ----- >From: "Michael Dorr" <[EMAIL PROTECTED]> >To: "CF-Talk" <[EMAIL PROTECTED]> >Sent: Thursday, June 20, 2002 3:50 PM >Subject: RE: correct syntax for replace double quotes > > >> Probably not. I'd try this >> >> Replace(sText, """", "", "ALL") >> >> Your example would probably throw an error because you need to escape >double quotes inside a CF Function unless you are using single quotes for >your attributes. Secondly, your example would remove double quotes only >when a blank space both preceded and followed it. You were definitely on >the right track however. >> >> Mike >> >> Michael B. Dorr >> eLab Web Application Developer >> Owen @ Vanderbilt University >> [EMAIL PROTECTED] >> >> >> -----Original Message----- >> From: Charlie [mailto:[EMAIL PROTECTED]] >> Sent: Thursday, June 20, 2002 12:26 PM >> To: CF-Talk >> Subject: correct syntax for replace double quotes >> >> #Replace(myQuery.data, " " ", "", "All" )# >> >> >> Is this the correct syntax for removing double quotes?? >> >> > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

