Overview | Methods | This Package | All Packages
Finds the first item in the list that exactly matches the string specified in the s parameter.
public final int findStringExact( String s )
public final int findStringExact( String s, int startIndex )
Parameters
s
The string to match exactly. Only strings that match this string in its entirety are considered matches.
startIndex
The zero-based index of the item before the first item to be searched. Set to -1 to search from the beginning of the combo box.
Return Value
Returns the zero-based index of the item found; returns ListBox.NOMATCHES if no match is found.
Remarks
The search is not case sensitive.