A complete listing of all the escape sequences available to you : Escape « String « Flash / Flex / ActionScript






A complete listing of all the escape sequences available to you

 

Escape Sequence      Resulting String 
\b      Backspace character.
\f      Form feed character. This character advances one page and is rarely used.
\n      Newline character. Also known as line feed.
\r      Carriage return character.
\t      Tab character.
\unnnn      Inserts a character with the four-digit hexadecimal Unicode code.
\xnn      Inserts a character with the two-digit hexadecimal ASCII code.
\'      Single quote (') character.
\"      Double quote (") character.
\\      Backslash (\) character.

        








Related examples in the same category

1.Passing String Values to and from Applications (escape)
2.unescape() function does not modify the existing string, but returns a new string
3.Escaping Characters
4.The backslash character has a special function when used in a string literal
5.An example of the newline character used in a string
6.Display \n literally, instead of a newline, you can add an additional backslash just before it
7.Using Quotes and Apostrophes in Strings
8.Inserting Special Whitespace Characters: Newline \n
9.Inserting Special Whitespace Characters: Tab \t
10.Inserting Special Whitespace Characters: Backspace \b
11.Inserting Special Whitespace Characters: Form feed \f
12.Inserting Special Whitespace Characters: Carriage return \r