Delay evaluation of a string as an expression, when it is passed as a parameter to the IIf or Evaluate functions. Escapes any double quotation marks in the parameter and wraps the result in double quotation marks. It does not escape # so the string could still be evaluated in some cases.

de(String) → returns string

Argument Reference

String string

Sample code invoking the de function


Expected Result: "pete"

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub