Print

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");
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?