TEXT = TEXT Operator
The TEXT = TEXT operator returns a value of true if the two text values you specify are the same.
The TEXT = TEXT operator works with any two text values including Text variables, text expressions, and functions returning text values.
You cannot compare a Text List value with a Text Value directly. To identify whether a Text List contains a certain Text value, parentheses around the text value are recommended.
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, or compare a variable to a given text value you write; in the later case, place quotes around your text. | A TRUE/FALSE value. |
Examples
The following script does something if Surname is equal to Maiden Name.
IF Surname = Maiden Name
//do something
END IF
IF TextList = ["Maiden Name"]