Deprecated. Don't use for new development and try to migrate existing uses.

Type: Scalar function

This function takes a string and escapes all characters used as control characters by the RTF document format, i.e. the characters '{', '}' and ''.

Return value: nvarchar(max)

The escaped string.


@String mandatory nvarchar(max)
The string to escape.