Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Escape sequence

Two or more characters that often begin with an escape character that tells the computer or software program to perform a function or command. Below is a listing of some of the commonly used and available escape sequences used in programming languages and some text editors.

\b Backspace
\f Form feed
\n Newline
\r Carriage return
\t Horizontal tab

Below is an example of how an escape sequence appears to a computer and then how it is displayed to the user.

Hello\nThis is an example of\nescape sequences.

The above example with escape sequences would display the below text.

Hello
This is an example of
escape sequences.

Also see: Escape, Programming definitions, Regex

 

Index

Category:
Dictionary

Related Pages:
E - Definitions

 

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope