FindString Method

Object List Next Object

Defined By:
ObjectList Control

Description:

Finds the index of the item starting with a specific string.

Declaration:

Function FindString(ByVal itemPrefix As String, byVal start As Integer) As Integer

Details:

ItemPrefix is a string you want to compare against list items. ItemPrefix will be compared to the front part of each list item. Spaces are considered viable characters to compare against. Start is the index in the list at which to begin the search. FindString returns the index of the first list item to match the ItemPrefix.