Action group: Text
Checks specified text samples for matches
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Text 1 | Text to be compared | Robin.String | Yes | |
Text 2 | Text to compare with | Robin.String | Yes | |
Case Sensitive | Boolean variable, optional. If the value of the variable is True, it will be case sensitive. False by default. | Robin.Boolean | true | No |
Results | ||||
Result | Boolean variable to which the test result will be written | Robin.Boolean | true |
None.
There is a text variable "Input text" with value = Left mouse click, text variable "Text for comparison" with value = Left mouse click. It is necessary to check case-insensitive texts for equality. Output a message in the dialog box: if the texts match - "values match", if they do not match - "values do not match".
Use the "Check for equality", "If" "Show message" actions.
The text is checked for equality and the result is displayed in a dialog box.