Example: String values in expressions

These are the examples of string values in expressions.
Name
Description
Example: If tag1 = "SOME" and tag2 + "THING", then:
String
A string literal begins with a double-quote character and ends with a double-quote character. Anything between the two double-quotes is part of the string literal. You can use strings as operands with the plus (+) operator and with relational operators. The + operator joins string operands. String tags and string literals behave the same way.
Keep the following in mind when using string tags with the relational operators:
  • All relational operators are case-sensitive.
  • Strings are compared on a character-by-character basis.
  • Individual letters are compared based on their Unicode value. This means that a lowercase letter is greater than its corresponding uppercase letter.
  • If two strings are different lengths and the characters are the same, then the longer string is considered to be greater than the shorter string.
tag1+tag2
returns "SOMETHING"
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal