I'm not sure I understand

<cfoutput>#testString#</cfoutput> evaluates the CF code.

Gareth isn't Evaluate(DE(testString)) saying evaluate but delay evaluation, so 
basically evaluate is not evaluating it? (could be wrong)..

-----Original Message-----
From: Kevin Faulkner [mailto:[EMAIL PROTECTED]
Sent: Thursday, 22 April 2004 2:36 PM
To: CFAussie Mailing List
Subject: [cfaussie] evaluate strings with functions and tags embedded


Hi all,

   Beginning to regret going this route but too late to turn back now!
Basicaly I'm in a situation where I have a string which may or may not
contain variables and tags within it...

  eg <CFSET testString = "I am a string, to be shown #now()#, with <B>This
is bold</B>">

  But I'm having difficulty displaying it, #testString# parses the HTML tags
but not the CF, whereas evaluate(testString) does exactly the opposite,
handling the CF but falling over on the '<' ("Yes I'm sure I didn't mean
LT!!")...  Is there a way to handle both?

Kev


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to