Look at a program
String t = "a || b || c || d"; string [] temp = t.split ("// | // |"); System.out.println (temp.length);
Mainly: "// | // |" What does it mean?
I started to be a little bit, and then I understood it carefully. It turned out to be like this:
// Will turn the righteousness into an anti -slash. The anti -slope itself is a rigid symbol. All of them become "/|".
Deeper Study: Java's Transfer Character
1. October -to -making sequence:/ + 1 to 3 digits 5 numbers; range '/000' ~ '/377'/0: empty character
2.Unicode to rush character: /u + four hexadecimal numbers; 0 ~ 65535 /u0000: empty character
3. Special characters: Just 3
/": Double quotation marks
/': Single quotation number
//: Anti -slope
4. Control character: 5
/'Single quoted character
// Reverse slope characters
/R Enter
/N change line
/f to go through paper pages
/T horizontal jump
/b Retreat point:. ==> U002E
The converting meaning of the US dollar symbol: $ ==> U0024
The righteousness of the multiplication symbol:^ ==> U005e
The righteousness of the left big parentheses: {==> U007B
The righteousness of the brackets on the left: [==> U005B
The righteousness of the left bracket: (==> U0028
The righteousness of the vertical line: | ==> U007C
The righteousness of the right included bracket :) ==> U0029
The righteousness of the star number:* ==> U002A
The righteousness of the increase:+ ==> U002B
The righteousness of the question mark :? ==> U003F
The righteousness of the back slope: ==> U005C
So // | Actually it can be written: // U007C
The above is all the contents of this article. I hope everyone can like it.