String indexOf
Returns the index within this text of the first/last occurrence of the specified subtext, starting the search at the specified index.
Parameters
Name | REST Name | Type | Default | Description |
---|---|---|---|---|
String* | text | STRING |
|
The text to search in. |
Sub string* | subtext | STRING |
|
The text to search for. |
Result variable* | variable | INTEGER |
|
The variable to receive the string value as an integer. |
Begin index | begin | INTEGER |
|
The index to begin the search from. If the occurrence is first, search is done from begin index forward. If occurrence is last, search is done from begin index backward. |
Occurrence | occurrence first (First) last (Last) |
STRING | First | The subtext occurrence. First Last |
* Mandatory parameter