The scalar relationships are applied to boolean, integers, real numbers, and literal strings. Each scalar relationship compares two values and returns true or false.
Begins With
For string values, test whether the first string begins with the second string. For example, "Hello" begins with "H" and "Hello" but not with "Hello world".
Contains
For string values, test whether the first string contains the second string. For example, "Hello world" contains "Hell", "lo w" and "rld".
Ends With
For string values, test whether the first string begins with the second string. For example, "Hello" ends with "o" and "Hello" but not with "Hello".
Equal
Tests whether or not two values are identical.
Note: This is different to the spatial relationship of the same name, which is for use only with values of type geometry. This operator will not work with geometries. Equal can also be used with objects, arrays and complex attributes.
Greater Than
Tests whether the first value is greater than (>) the second value.
Greater Than or Equals
Tests whether the first value is greater than or equal to (>=) the second value.
Less Than
Tests whether the first value is less than (<) the second value.
Less Than or Equals
Tests whether the first value is less than or equal to (<=) the second value.
Not Equal
Returns true if the two values are not identical. Not Equal can also be used with objects, arrays, and complex attributes.
Regular Expression
For string values, check whether or not the first string matches the wild card string or Perl regular expression in the second string. You choose the type of pattern matching.
A wild card match is simple, using just two special characters. By default, a percent sign (%) matches any sequence of characters. "*Lane%" matches anything ending in "Lane" and "%.%" matches any string containing one or more periods. The question mark (?) matches any single character, for example "*.???" matches anything with a three character extension. You can change these special characters using the Element Details area.
For more information about using Perl regular expressions, see: http://perldoc.perl.org/perlre.html
A scalar relationship compares any two values, which can be boolean, integers, real numbers or literal strings. The result is evaluated as true or false.