TEXT < TEXT Operator
The TEXT < TEXT operator returns a value of true if the first text value occurs earlier in the alphabet than the second text value.
The TEXT < TEXT operator works with any two text values including text variables, text expressions, and functions returning text values.
Operator | Description | After you drag and drop the operator into the script tab: | Expression returns: |
< | ⟦Text⟧ < ⟦Text⟧ | Replace both ⟦TEXT⟧ placeholders with the variables you want to compare in your script. You can drop a variable (from the Component tab) or another model on the placeholder, or you can replace the placeholder with a text value (within quotes). | A TRUE/FALSE value. |
Examples
IF FirstAuthorLastName < SecondAuthorLastName
IF FirstAuthorLastName < "Thompson"