Overview | Methods | This Package | All Packages
Finds the first item in the list that matches the specified string exactly.
Syntax
public int findStringExact ( String s )
public final int findStringExact ( String s, int startIndex )
Parameters
s
The string to match exactly.
startIndex
The zero-based index of the item before the first item to be located. Set to -1 to search from the beginning of the list.
Return Value
Returns the zero-based index of the item found; returns -1 if no match is found.