String Escape Characters
Unqualified string literals support the following escape sequences:
Escape sequence |
Meaning |
---|---|
\\ |
\ |
|
Single quote (') |
|
Double quote (") |
|
ASCII bell (BEL) |
|
ASCII Backspace (BS) |
|
ASCII Formfeed (FF) |
|
ASCII Linefeed (LF) |
|
ASCII Carriage Return (CR) |
|
ASCII Horizontal Tab (TAB) |
|
16-bit hex Unicode character (encoded in Unicode or UTF8 depending upon string type) |
|
32-bit hex Unicode character (encoded in Unicode or UTF8 depending upon string type) |
|
ASCII Vertical Tab (VT) |
|
Character with octal value |
|
Character with hex value |
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.