XMLFormat

Escapes special XML characters in a string, so that the string is safe to use with XML.

XMLFormat( string )

Returns: String

Argument Description
string
string, required

A string or a variable that contains one

Examples

string = "I like peanut butter & jelly.";
dump(XmlFormat(string)); // I like peanut butter & jelly.

See also