|
| Related:
|
|
| Escape Sequence | Description | VB Constant | Decimal HTML | Octal ASCII | Hex | Unicode |
|---|---|---|---|---|---|---|
\b | Backspace | vbBack | 8 | 010 | 08 | \u0008 |
\t | (Horizontal) Tab | vbTab | 9 | 011 | 09 | \u0009 |
\n | New Line Feed (LF) | vbLf vbNewLine | 10 | 012 | 0A | \u000a |
\v | Vertical Tab | vbVerticalTab | 11 | 013 | 0B | \u000B |
\f | Form Feed | vbFormFeed | 12 | 014 | 0C | \u000c |
\r | Carriage Return (CR) | vbCr | 13 | 015 | 0D | \u000d |
\\ | Back slash (solidus) | - | 134 | 092 | 5C | \u005c |
\' | Single quote (grave accent) | - | 140 | 060 | 27 | \u0027 |
\" | Double quote | - | - | 148 | 22 | \u0022 |
\0 | null (C string terminator) | vbNullChar | - | - | \u0000 | |
| null (Empty) string | vbNullString | 0 | 000 | 00 | - | |
\c | continuation (UNIX) | |||||
| infinity(INF) | - | ? | 236 | \u221E \u8734 | ||
\a | Alert (beep sound) or New line break for CSS2 content | \u0007 |
PHP programs also need escaped dollars signs (which precede variable names), braces, and brackets (which have special meaning in PHP):
\$ \{ \} \[ \]
In DOS batch files, the character like the backslash in Linux is the carrot, which tells the command interpreter to see the next character as a conventional character. An example usage is this:
@echo off set username=josh echo ^<%username%@mail.com^> >> emaillist.txt
|
|
|
|
|
|
|