There are a number of special characters within JScript that you may need to use within strings in your code. The “escape characters” in Table B-9 can be used in place of these special characters, eliminating any errors that may have occurred.
Character | Represents |
---|---|
\b | Backspace |
\f | Form feed |
\n | Line feed (newline) |
\r | Carriage return |
\t | Horizontal tab (CTRL-I) |
\' | Single quotation mark |
\" | Double quotation mark |
\\ | Backslash |