Finds the first item in the list that starts with the specified string.
public int findString ( String s )
public final int findString ( String s, int startIndex )
s
The string to match. Any string that begins with the specified characters is considered a match.
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.
Returns the zero-based index of the item found; returns -1 if no match is found.