Encode text as a Javascript String.

Syntax

ISHtmlUtilities.JavascriptEncode(text, quote)

Parameters

NameTypeOptionalByRefDescription
text String The text to encode.
quote Boolean Indicates whether to automatically adds opening and closing quotes.

Return Value

String

A String value.

Member of:
ISHtmlUtilities
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0