|
October 5, 1999 Escape Sequences Tips: October 1999
Yehuda Shiran, Ph.D.
|
|
Strings often include escape sequences, sometimes called escape characters, special characters, or control characters. Escape sequences are usually used to express nonprintable characters, but other special purposes also exist. The following table outlines the escape sequences:
Be sure to use these inline characters only when needed. The behavior of some of them is not so intuitive. The carriage return escape sequence, for example, creates a new line only in dialog boxes and text areas. Here are some strings that use these escape sequences:
|