encodejavascriptstring()

 
Encodes "string" in a format suitable for use inside a JavaScript quoted string declaration, honoring the current character set.
Syntax
encodejavascriptstring( string )
Returns the encoded string.
  • string = the string that will be encoded.
User Annotations: encodejavascriptstring