Escape Sequences

The following escape sequences are recognized in the format string:

  • \n Newline (ASCII 10)

  • \r Carriage return (ASCII 13)

  • \t Tab (ASCII 9)

  • \a Bell character (ASCII 7)

  • \b Backspace (ASCII 8)

  • \e Escape character (ASCII 27)

  • \f Form feed (ASCII 12)

  • \v Vertical tab (ASCII 11)

  • \\ Backslash

  • \xhh Hexadecimal escape. hh is 1 or more hex digits.

  • \ooo Octal escape. ooo is 1 to 3 octal digits.

Copyright © Thunderstone Software     Last updated: Oct 24 2023
Copyright © 2024 Thunderstone Software LLC. All rights reserved.