Outputs the index position of the first occurrence of a given string in a text, searching from a specified starting index.
Outputs -1 if there are no occurrences found.
Properties
String 1
: Text inside which to perform the search
Default : empty
String 2
: Text to search
Default : empty
From
: Index at which to start search
Default : 0
Case sensitive
: Toggle to enable a strict case sensitive comparison
Default : OFF
Reg Exp
: Toggle to enable a regular expression search
Default : OFF
Inputs
Name | Type | Description |
---|---|---|
String 1 | String | Text inside which to perform the search |
String 2 | String | Text to search |
From | Integer | Index at which to start the search |
CaseSensitive | Boolean | Toggle to enable a strict case sensitive comparison |
RegExp | Boolean | Toggle to enable a regular expression search |
Outputs
Name | Type | Description |
---|---|---|
Integer | Integer | Index of first occurrence of String 2 inside String 1 |
Example
Need more help with this?
Don’t hesitate to contact us here.