Action group: Text
Specifies the sequence number of the character in the source text from which the search text begins
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Text | Text to make action on | Robin.String | Yes | |
Search text | The text for which it is necessary to find the ordinal position of the occurrence | Robin.String | Yes | |
Entry type | Which entry will be written to the result. | Robin.String | No | |
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 | Numeric variable to which the search result will be written | Robin.Numeric |
None.
There is a variable "Primary Text" with the value "Hi, friend! How are you?". The ordinal number of the word "How" in the text (first occurrence) is required. Output the result in a dialog box.
Use the "Find entry", "Show message" actions.
The sequence number in the text for the word "How" is displayed in the dialog window.