Quotes a string using double quotes.

Syntax

Smartsite SXML CopyCode image Copy Code
string string.quote(string data)
string string.quote(string data, boolean singleQuote)

Parameters

Name Data Type Description
data String The input string.
singleQuote Boolean If set to true, uses single quote character (default: double quote).

Return Value

Data Type Description
String Quoted string.

Expand image Example

SXML