Thanks to you both... I literally just finished a test with DE() and it
works a treat! Cheers!


----- Original Message -----
From: "Gareth Edwards" <[EMAIL PROTECTED]>
To: "CFAussie Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2004 2:43 PM
Subject: [cfaussie] RE: evaluate strings with functions and tags embedded


Kevin,

Evaluate it like so.

Evaluate(DE(testString))

Should work.

Gareth.

-----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




---
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