Icon Find Method

function Find(const Value: String; NearestMatch: Boolean=False):
      Integer

Available In: Client and Server Applications

Use this method to perform a binary search of the list of strings. The Sorted property must be True or calling this method will result in an exception being raised. The SortCaseInsensitive and SortLocaleInsensitive properties determine how the strings are compared during the search:

PropertiesFunction Used
SortCaseInsensitive=False
SortLocaleInsensitive=True
CompareStr
SortCaseInsensitive=True
SortLocaleInsensitive=True
CompareText
SortCaseInsensitive=False
SortLocaleInsensitive=False
LocaleCompareStr
SortCaseInsensitive=True
SortLocaleInsensitive=False
LocaleCompareText
Image