- character
The char to test.
![]()
A bool value that is true if the specified character should be escaped; otherwise, false.
This method returns true for the following characters:
| Character(s) | Description |
|---|---|
| character < 0x0020 | Any character with the ASCII value less than hexadecimal 0x20 (32). |
| character < 0x007f | Any character with the ASCII value greater than hexadecimal 0x7f (127). |
| < | Less than sign. |
| > | Greater than sign. |
| # | Number sign (crosshatch, pound sign). |
| % | Percent. |
| " |
Quotation mark. |
| { | Left curly brace. |
| } | Right curly brace. |
| | | Pipe sign (vertical bar). |
| \ | Backward slash. |
| ^ | Circumflex (caret). |
| [ | Left square bracket. |
| ] | Right square bracket. |
| ` | Grave accent. |