Encodes ampersand characters to AMP XML entities in the given string.

Syntax

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

Parameters

Name Data Type Description
data String The data.

Return Value

Data Type Description
String Encoded string

Expand image Example

SXML