escape sequences Flashcards
1
Q
\
A
Backslash ()
2
Q
'
A
Single-quote (‘)
3
Q
"
A
Double-quote (“)
4
Q
\a
A
ASCII bell (BEL)
5
Q
\b
A
ASCII backspace (BS)
6
Q
\f
A
ASCII formfeed (FF)
7
Q
\n
A
ASCII linefeed (LF) New line jan\nfeb\nmar\napr…
8
Q
\N{name}
A
Character named name in the Unicode database (Unicode only)
9
Q
\r
A
ASCII carriage return (CR)
10
Q
\t
A
ASCII horizontal tab (TAB)
11
Q
\uxxxx
A
Character with 16-bit hex value xxxx (Unicode only)
12
Q
\Uxxxxxxxx
A
Character with 32-bit hex value xxxxxxxx (Unicode only)
13
Q
\v
A
ASCII vertical tab (VT)
14
Q
\ooo
A
Character with octal value oo
15
Q
\xhh
A
Character with hex value hh