Escape Element
In vCard support, the Escape element is used to escape certain characters in strings. The Escape element can be used to replace every occurrence of a character in the string.
Syntax
<Escape
EscapeChar = "Text"
EscapeChars = "Text">
</Escape>
Attributes
Name | Description |
---|---|
EscapeChar | Required String. The character used to escape a particular character in the string. |
EscapeChars | Required String. The character in the string that is to be escaped. |
Related Elements
Parent Elements |
---|
Field |
Example
The following example evaluates to "abc\xyz".
<Escape EscapeChar="\" EscapeChars="x">abcxyz</Escape>