| Syntax |
|
| Documentation | Returns the index within the given string of the first occurrence of the specified substring, starting at the specified index:
sub_string, the substring to examine if contained in the main_string. begin_index, a optional parameter used to specify an offset in the main_string to start searching at.
entire main_string may be searched. If it is greater than the length of this mani_string, it has the same effect as if it were equal to the length of the main_string and -1 is returned. |
| Examples | |
Example 1
Result: 4
Result: 10
Result: -1 (unmatched) |
|
| Group | String |
| Minimum required transaction-mode: | NONE |
| Required scripting permission of the developer | PERMISSION_FL_BASIC |
| Minimum parameters | 2 |
| Maximum parameters | 3 |