Files
JS/01_grundlagen/docs/escape-notation.md
Philippe Torrel 28c0a44ead
2026-06-18 10:49:04 +02:00

20 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# EscapeNotation (Backslash Maskierung)
Neben gewöhnlichen, druckbaren Zeichen gibt es Sonderzeichen, die mittels [Escape-Notation](https://www.w3schools.com/python/python_strings_escape.asp#:~:text=An%20escape%20character%20is%20a,character%20you%20want%20to%20insert.) kodiert werden können:
| Code | Ausgabe |
| -------------------- | --------------------------------- |
| `\0` | das NULL-Zeichen |
| `\'` | einfaches Anführungszeichen |
| `\"` | doppeltes Anführungszeichen |
| `\\` | Rückwärtsschrägstrich (backslash) |
| `\n` | Zeilenumbruch (new line) |
| `\r` | Zeilenanfang (carriage return) |
| `\v` | vertikaler Tabulator |
| `\t` | Tabulator |
| `\b` | Backspace |
| `\f` | Seitenvorschub (form feed) |
| `\uXXXX` | Unicode-Codepoint |
| `\u{X}``\u{XXXXXX}` | Unicode-Codepoint |
| `\xXX` | Latin-1-Zeichen |