Inside Coldfusion MX

"-->

DE (string)

Description

Used to delay evaluation of a string as an expression in conjunction with the IIf or Evaluate functions. Escapes any double quotation marks in the parameter and wraps the result in double quotation marks. This only works with expressions that are not surrounded by pound signs. Expressions surrounded by pound signs are always evaluated first.

Example

<cfset exampleVariable = "2 + 2"> <cfoutput> The example variable is #exampleVariable# or if you use #DE(exampleVariable)# or you can use #Evaluate(DE(exampleVariable))# </cfoutput>

Категории