preserveSingleQuotes

Prevents CFML from automatically escaping single
quotation mark characters that are contained in a variable.
CFML does not evaluate the argument.

Note: ColdFusion automatically escapes simple-variable,
array-variable, and structure-variable references within a
cfquery tag body or block.

preserveSingleQuotes(variable) → returns void

preserveSingleQuotes Argument Reference

variable
Required

Variable that contains a string in which to preserve
single quotation marks.

Fork me on GitHub