Siebel eScript Language Reference > Siebel eScript Commands > String Objects >

Escape Sequences for Characters in Siebel eScript


Some characters, such as a quotation mark, have special meaning to the Siebel eScript interpreter and must be indicated with special character combinations when used in strings. This allows the Siebel eScript interpreter to distinguish between, for example, a quotation mark that is part of a string and a quotation mark that indicates the end of the string. The following is a list of the characters indicated by escape sequences:

Escape Sequence
Description

\a

Audible bell

\b

Backspace

\f

Form feed

\n

Newline

\r

Carriage return

\t

Tab

\v

Vertical tab

\'

Single quote

\"

Double quote

\\

Backslash character

\0###

Octal number (example: '\033' is the escape character)

\x##

Hex number (example: '\x1B' is the escape character)

\0

Null character (example: '\0' is the null character)

\u####

Unicode number (example: '\u001B' is the escape character)

Note that these escape sequences cannot be used within strings enclosed by back quotes, which are explained in Back-Quote Strings in Siebel eScript.

Siebel eScript Language Reference