Escape the quotes... <cfset str = "<cfinclude template=""mytemplate.cfm"">">
======================================================================= Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Andy Ewings [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 26, 2003 7:53 AM > To: CF-Talk > Subject: Writing CF to a string > > > Does anyone know how to create a string containing CF code > without it being evaluated? i.e. I want to create a file > containing the text <cfinclude template-"mytemplate.cfm"> > > I have tried this by creating a straing containing <cfinclude > template-"mytemplate.cfm"> using the DE function but when I > try to look at the contents of this string all I see is > double quotation marks > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4