Character escape sequences allow for a character to be interpreted differently than its literal value. Character escape sequences are defined using the backslash (\) character, followed by the escape sequence code. The following table shows a list of character escape sequences with a description of what they do.
| Character Escape Sequence | Description |
|---|---|
| \b | Backspace |
| \f | Form feed |
| \n | New line |
| \r | Carriage return |
| \t | Tab |
| \u{hex} | Unicode escape sequence |
| \\ | Backslash character. This is how a backslash can be treated as just an actual backslash character. |
| \' | Single quote. Define a single quote character so it is not treated as a character delimiter. |
| \" | Double quote. Define a double quote character so it is not treated as a string delimiter. |
Our website is not responsible for the information contained by this article. Webworldarticles.com is a free articles resource thus practically any visitor can submit an article. However if you notice any copyrighted material, please contact us and we will remove the article(s) in discussion right away.
This article was sent to us by:
Gabriela C. Perez at
12292007
1. ISO Management Elements in Java EE .NET Platforms
All articles in this directory are property of their respective authors. Additionally, read our Privacy Policy
© 2010 WebWorldarticles.com - All Rights Reserved. Partners: Gunblade Saga