The TEXT != TEXT operator returns a value of true if the two text values you specify are not the same.
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. |
After you download the example template, you can import the template to any workspace to see this example code in action.