Action group: Text
Determines if the beginning of the text matches the specified pattern
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Text | Source text for processing. | Robin.String | Yes | |
String to compare | The text to which the start of the source text will be compared. | Robin.String | Yes | |
Results | ||||
Result | A boolean variable to which the test result will be written. | Robin.Boolean | true |
None.
There is a text variable "Input text" with value = Click LMB, text variable "Text for comparison" with value = "Click". It is necessary to check whether the beginning of the text coincides with the specified sample. If the condition matches, output the message - "the beginning of the text matches the specified sample", if it does not match "the beginning of the text does NOT match the specified sample".
Use the actions "Check start", "If", "Show message".
The result is displayed in the dialog box