Action group: Text
Checks if the specified text is present in the source text
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Source text | Text to make action on | Robin.String | Yes | |
Seek string | The string to seek | Robin.String | Yes | |
Case sensitive | If the value is True, then the case will be taken into account when searching for matches, otherwise it will not be. The default is «false». | Robin.Boolean | true | No |
Results | ||||
Result | Boolean variable to which the test result will be written. | Robin.Boolean | true |
None.
There is a variable "Input text" with the text "Ira Ivanova, Masha Smirnova, Olya Petrova". It is required to check the text in the variable for the content of the terms "Olya Petrova", write the result to the variable and display the corresponding message in the dialog box (Match found, match not found).
Use the "Check for entry", "If", "Show message" actions.
The text is found and the result is displayed in the dialog box