/t5/coldfusion-discussions/how-to-evaluate-a-string-that-contains-a-cfif-tag/td-p/975628Aug 20, 2008
Aug 20, 2008
Copy link to clipboard
Copied
Line 1 of the attached code has the output I want: "test that
string".
Lines 2 and 3 aren’t getting the browser output I want:
"test thisthat string".
Here is what lines 2 and 3 look like in the view source:
"test <cfif 1 EQ 0>this<cfelse>that</cfif>
string"
How to evaluate str so it prints "test that string"?