Java escape characters
All escape characters and their meanings:
Escape characters |
Meaning |
ASCII value (decimal) |
\ |
Bell (BEL) |
007 |
\ B |
Return to BS to move the current position to the previous column. |
008 |
\ F |
Change page (FF), move the current position to the beginning of the next page |
012 |
\ N |
Line feed (LF), move the current position to the beginning of the next line |
010 |
\ R |
Press enter (CR) to move the current position to the beginning of the line |
013 |
\ T |
Horizontal tabulation (HT) (jump to the next TAB) |
009 |
\ V |
Vertical tabulation (VT) |
011 |
\\ |
Represents a backslash character ''\' |
092 |
\' |
Represents a single quotation mark (apostrophes) character |
039 |
\" |
Represents a double quotation mark character |
034 |
\? |
Represents a question mark |
063 |
\ 0 |
NULL) |
000 |
\ Ooo |
Any character from 1 to 3 octal digits |
Three octal nodes |
\ Xhh |
Any character in hexadecimal notation between 1 and 2 |
Two hexadecimal |
Note: Yes. slashes: "/" and backslash: "\" are not interchangeable here.Java escape character comparison table escape:. ==> u002E
Escape of dollar signs: $ ==> u0024
Escape of the multiplication Symbol: ^ ==> u005E
Escape from the left braces: {==> u007B
Escape from left square brackets: [==> u005B
Escape of left parentheses :( ==> u0028
Escape of vertical bars: |=> u007C
Escape of right parentheses: ==> u0029
Asterisk escape: * ==> u002A
Escape of the plus sign: + ==> u002B
Escape question mark :? ==> U003F
Escape the backslash: ==> u005C