Citrix Systems Network Router 9.2 Benutzerhandbuch
Chapter 3 Configuring Advanced Expressions: Getting Started
47
str + str
Concatenates the value of the expression on the left of the operator with the
value on the right. Following is an example:
value on the right. Following is an example:
http.req.hostname + http.req.url.protocol
str + num
Concatenates the value of the expression on the left of the operator with a
numeric value on the right. Following is an example:
numeric value on the right. Following is an example:
http.req.hostname + http.req.url.content_length
num + str
Concatenates the numeric value of the expression on the left side of the
operator with a string value on the right. Following is an example:
operator with a string value on the right. Following is an example:
http.req.url.content_length + http.req.url.hostname
str + ip
Concatenates the string value of the expression on the left side of the
operator with an IP address value on the right. Following is an example:
operator with an IP address value on the right. Following is an example:
http.req.hostname + 10.00.000.00
ip + str
Concatenates the IP address value of the expression on the left of the
operator with a string value on the right.Following is an example:
operator with a string value on the right.Following is an example:
client.ip.dst + http.req.url.hostname
str1 ALT
str2
str2
Uses the string1 or string2 value that is derived from the expression on
either side of the operator, as long as neither of these expressions is a
compound expressions.Following is an example:
either side of the operator, as long as neither of these expressions is a
compound expressions.Following is an example:
http.req.hostname alt client.ip.src
Operations on strings that produce a result of TRUE or FALSE
str == str
Evaluates whether the strings on either side of the operator are the same.
Following is an example:
Following is an example:
http.req.header("myheader") ==
http.res.header("myheader")
str <= str
Evaluates whether the string on the left side of the operator is the same as
the string on the right, or precedes it alphabetically.
the string on the right, or precedes it alphabetically.
str >= str
Evaluates whether the string on the left side of the operator is the same as
the string on the right, or follows it alphabetically.
the string on the right, or follows it alphabetically.
str < str
Evaluates whether the string on the left side of the operator precedes the
string on the right alphabetically.
string on the right alphabetically.
str > str
Evaluates whether the string on the left side of the operator follows the
string on the right alphabetically.
string on the right alphabetically.
str !!= str
Evaluates whether the strings on either side of the operator are different.
Logical operations on strings
String-Based Operations for Compound Advanced Expressions
All string operations