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: Dec 10 2018
Copyright © 2019 Thunderstone Software LLC. All rights reserved.