B. Escape k≤dy
Pro vyjßd°enφ n∞kter²ch specißlnφch znak∙ lze pou╛φt tyto escape
sekvence:
\b | backspace |
\t | tabulßtor |
\n | nov² °ßdek (LF) |
\f | novß strßnka (FF) |
\r | nßvrat vozφku (CR) |
\" | uvozovky |
\' | apostrof |
\\ | zp∞tnΘ lomφtko |
\xxx | znak zapsan² v osmiΦkovΘm k≤du (000-0377) |
\uxxxx | znak Unicode zapsan² hexadecimßln∞ |
|
Priklad B.1. |
Do prom∞nnΘ text lze zapsat slovo "k∙≥" takto:
String text = "K\u016F\u0148";
|
|
|