Encodes single and double quotes in the given string where single quotes are emitted as numeric entities. Double quote is encoded using AMP QUOT named entity.

Syntax

Smartsite SXML CopyCode image Copy Code
string string.encodequotes(string data)

Parameters

Name Data Type Description
data String The data.

Return Value

Data Type Description
String

Expand image Example

SXML