# IsAsciiCharacter
{: .no_toc }

Returns or sets whether the escape sequence stands for a character code instead of fixed text.

## Get

Returns a **Boolean**.

Syntax: *object*.**IsAsciiCharacter**

*object*
: *required* An object expression that evaluates to an **EscapeSequence**.

The default value is **False**. **True** means that [**EscapeString**](/tB/Packages/Contributed/Fmt/EscapeSequence/EscapeString.md) is a regular expression whose capture group holds the digits of a character code, and that [**ReplacementString**](/tB/Packages/Contributed/Fmt/EscapeSequence/ReplacementString.md) is not used.

## Let

Declared **Friend**. Sets the value.

Syntax: *object*.**IsAsciiCharacter** **=** *value*

*value*
: A **Boolean**.

## Remarks

[**Create**](/tB/Packages/Contributed/Fmt/EscapeSequence/Create.md) sets the property from its *isAsciiReplacement* argument. [**Execute**](/tB/Packages/Contributed/Fmt/EscapeSequence/Execute.md) takes the ASCII path when the value is **True**, reading the digits in the base given by [**AsciiBase**](/tB/Packages/Contributed/Fmt/EscapeSequence/AsciiBase.md).

## Example

```tb check_build check_run
Debug.Print EscapeSequence.Create("\n", vbNewLine).IsAsciiCharacter                       ' False
Debug.Print EscapeSequence.Create("\\(\d{3})", vbNullString, True).IsAsciiCharacter      ' True
```

## See Also

- [AsciiBase](/tB/Packages/Contributed/Fmt/EscapeSequence/AsciiBase.md) property -- the number base used when the value is **True**
- [Create](/tB/Packages/Contributed/Fmt/EscapeSequence/Create.md) method -- sets the value
- [EscapeSequence](/tB/Packages/Contributed/Fmt/EscapeSequence/index.md) class -- overview
