Link to this page
Print this page
Parent topic
:
String Functions
Template Functions
/
String Functions
escapeJS()
The
escapeJS()
function escapes JavaScript-sensitive characters.
Syntax
escapeJS(
expr
)
Note:
Return
string(expr)
with ["'", "\", "\n", "\r"] characters escaped with a "\".