Whatever message this page gives is out now! Go check it out!
JSStringFormat(string)Parameter | Description |
string | A string or a variable that contains one. |
<cfscript>
stringValue = "An example string value with a tab chr(8),
a newline (chr10) and some ""quoted"" 'text'"
jsStringValue = JSStringFormat(#stringValue#)
writeOutput(jsStringValue) // An example string value with a tab chr(8), \na newline (chr10) and some \"quoted\" \'text\'
</cfscript>