Escape Element

Applies to: SharePoint Foundation 2010

In vCard support, escapes certain characters in strings. The Escape element can be used to replace every occurrence of a character in the string.

<Escape
  EscapeChar = "Text"
  EscapeChars = "Text">
</Escape>

Attributes

Attribute

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.

Child Elements

None

Parent Elements

Field

Occurrences

Minimum: 0

Maximum: 1

Example

The following example evaluates to "abc\xyz".

<Escape EscapeChar="\" EscapeChars="x">abcxyz</Escape>