Submit a ticketCall us

AnnouncementsCome see SolarWinds at VMUG Frankfurt

SolarWinds is delighted to attend the upcoming VMUG which will take place at Kap Europa in Frankfurt on June 19th, 2018.

See event details.

Home > Success Center > Kiwi Syslog Server > Kiwi Syslog Server Documentation > Kiwi Syslog Server Administrator Guide > Scripting resources > JScript escape characters

JScript escape characters

Table of contents
No headers

Use the following escape characters in JScript scripts. Any escape sequence not included in this table simply codes for the character that follows the backslash in the escape sequence. For example, "\a" is interpreted as "a".

Since the backslash itself represents the start of an escape sequence, you cannot directly type one in your script.

If you want to include a backslash, you must type two sequential characters (\\).

For example:

The log file path is C:\\Program Files\\Syslogd\\Logs\\SyslogCatchAll.txt

The single quote and double quote escape sequences can be used to include quotes in string literals.

For example:

The caption reads, \"This is a test message from \'Kiwi SyslogGen\'.\"

Escape sequence Meaning
\b Backspace
\f

Form feed (rarely used)

 

Line feed (newline)

 

Carriage return. Use with the line feed () to format output.

 

Horizontal tab

\v

Vertical tab (rarely used)

\'

Single quote (')

\"

Double quote (")

\\

Backslash (\)

 

ASCII character represented by the octal number n. *

\xhh

ASCII character represented by the two-digit hexadecimal number hh.

\uhhhh

Unicode character represented by the four-digit hexadecimal number hhhh.

Last modified

Tags

Classifications

Public