#Replace(myQuery.data, """", "", "ALL")#

You must escape the double quotes between the set of double quotes in the
first set.  That's why there are 4 double quotes.

Dave


----- Original Message -----
From: "Charlie" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, June 20, 2002 4:40 PM
Subject: Re: correct syntax for replace double quotes - solution


> solved it......are single quotes always a viable substitute for double
> quotes within functions....????
>
> 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??
> >
> >
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
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

Reply via email to