Text <= TEXT Operator

The TEXT <= TEXT operator returns a value of true if the first text value occurs earlier or in the same position in the alphabet as the second text value.

The <= 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"

Download

After you download the example template, you can import the template to any workspace to see this example code in action.