Page tree
Skip to end of metadata
Go to start of metadata

Last updated: Jan 27, 2020 12:05

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 NameTypeDefaultDescription
String*textSTRING
The text to search in.
Sub string*subtextSTRING
The text to search for.
Result variable*variableINTEGER
The variable to receive the string value as an integer.
Begin indexbeginINTEGER
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.
Occurrenceoccurrence
first (First)
last (Last)
STRINGFirstThe subtext occurrence.
First
Last

* Mandatory parameter