This documentation is archived and is not being maintained.

Escape Element

SharePoint Team Services 1.1

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

NameDescription
EscapeCharRequired String. The character used to escape a particular character in the string.
EscapeCharsRequired 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>

Show: