You can also double your quotes to escape them:

<cfset x = 'i can''t do it' />
<cfset x = "he say ""whee"" yesterday" />

Note that that's two apostrophes between the 'n' and 't' in the first
line, not a double quote.  So you could write the line like this:

<cfset mylist = "Rob Munchen Robert Munchen ""RDM Testing string inside
string"" more testing 'cause ""Fred"" Gregg Robinson" />

cheers,
barneyb

On 8/30/05, Claude Schneegans <[EMAIL PROTECTED]> wrote:
> The problem doesn't come from double quotes in the string, but from the
> single quote inside single quote delimited string.
> Use this:
> 
> <cfset mylist = 'Rob Munchen Robert Munchen "RDM Testing string inside
> string" more testing'
>      & "'cause" & ' "Fred" Gregg Robinson'>
> 
> --
> _______________________________________
> REUSE CODE! Use custom tags;
> See http://www.contentbox.com/claude/customtags/tagstore.cfm
> (Please send any spam to this address: [EMAIL PROTECTED])
> Thanks.
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216802
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

Reply via email to