Action
Returns the index of the specified item.
Availability
This functionality is supported only if you are using the Classic Agent.
Syntax
iIndex = list.FindItem(sItem)
Variable
|
Description
|
iIndex
|
The item index. 0 if item not found.
INTEGER.
|
sItem
|
The item to find.
STRING.
|
Example
This example uses the list of used technologies in the
About This Site page of the GMO Web application.
INTEGER iIndex
iIndex = AboutPage.UsedList.FindItem("Java")
Print("Item number{iIndex}")
// Result (The Java item is the 6th item in the list):
// Item number 6