XmlEncode
Replaces invalid XML characters in a string with their valid XML equivalent.
Syntax
XmlEncode("123");
Function arguments
- string – (String) String to be formated
Return value
This function returns String.
Returns encoded string.
Examples
Example 1:
This will return: <nr>123</nr>
XmlEncode("123");