String values


The system differentiates strings from other value types through the use of double quotation marks. Any value enclosed in double quotation marks is treated as a string literal. If double quotation marks are not present, the value is assumed to match its context — that is, if the value is involved in a comparison with a known IP address, the value is assumed to be an IP address.

Character literals

The following character literals can be used in strings:

  • \n (linefeed)
  • \r (carriage return)
  • \f (formfeed)
  • \b (backspace)
  • \t (tab)
  • \ \ (backslash)
  • \" (double quotation marks)
  • \' (single quotation marks)

Octal characters

Octal characters are represented by a backward slash followed by a three-character octal code, as follows: \nnn.

Hexadecimal characters

Hexadecimal characters are represented by a backward slash followed by x and a four-character hexadecimal code, as follows:
\xA5FF

Related topics

Null-values
IP-addresses

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Real End User Experience Monitoring 2.0