# ReplacementString
{: .no_toc }

Returns or sets the text that replaces the escape sequence.

## Get

Returns a **String**.

Syntax: *object*.**ReplacementString**

*object*
: *required* An object expression that evaluates to a **FormerEscapeSequence**.

The default value is an empty string.

## Let

Declared **Friend**. Sets the replacement text.

Syntax: *object*.**ReplacementString** **=** *value*

*value*
: A **String**.

## Remarks

[**Create**](/tB/Packages/Contributed/Fmt/FormerEscapeSequence/Create.md) sets the property on the instance that it returns.

## Example

```tb check_build check_run
Dim factory As New FormerEscapeSequence
Debug.Print factory.Create("\q", Chr$(34)).ReplacementString  ' "
```

## See Also

- [EscapeString](/tB/Packages/Contributed/Fmt/FormerEscapeSequence/EscapeString.md) property -- the text that is replaced
- [Create](/tB/Packages/Contributed/Fmt/FormerEscapeSequence/Create.md) method -- sets the replacement
- [FormerEscapeSequence](/tB/Packages/Contributed/Fmt/FormerEscapeSequence/index.md) class -- overview
