Find

Declaration: TStringList.Find(const S: string; var Index: integer): Boolean;
Locates the index for the string S in the sorted list and indicates whether this string already exists in the list. If the string S exists a TRUE value is returned and the index of the string is available in the variable parameter Index.

Hint: Only use Find with sorted lists. For unsorted lists, use the IndexOf method instead.