Skip to content

Escape Characters

Escape Sequence Character
\b Backspace
\f Form feed
\n Newline
\r Carriage return
\t Tab
\unnnn Unicode character
\xnn ASCII character, character code specified by hexadecimal digits nn
\' Single quote
\" Double quote
\\ Backslash character

References and Acknowledgements

Original: This post is protected by CC BY-NC-SA 4.0 agreement, should be reproduced with attribution.

This post is translated using ChatGPT, please feedback if any omissions.