Evaluates one or more string expressions, dynamically, from left to right. (The results of an evaluation on the left can have meaning in an expression to the right.) Returns the result of evaluating the rightmost expression.
evaluate(expression)
→ returns any
<!--- Evaluate the expression --->
<cfset first = "ColdFusion">
<cfset second = "ColdFusion">
<cfset op = "eq">
<cfoutput>#evaluate("first #op# second")#</cfoutput>
Expected Result: YES
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.