ComboBox.findString method
public int findString(char[] str, int startIndex)
public int findString(char[] str)
Case insensitively searches the list for an item beginning with the string str
and returns the item index, or returns -1 if not found. startIndex
is the index to start from and the search wraps back around to the top; if omitted or -1, the entire list is searched from the top.
To find an entire string and not just the beginning, use findStringExact
.