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");
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.