Escapes special JavaScript characters, such as single quotation
mark, double quotation mark, and newline
Lucee Function Reference
Function JSSTRINGFORMAT
Example
jsstringformat(string string):string
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
string | string | Yes | A string or a variable that contains one. |