TSubstringListInvariant.Find Method

function Find(const S: string; var Index: Integer): Boolean; overload;

Searches a sorted list for S by bisection.

#NameDescription
1S

The text, every text kind.

2Index

The equal item's index, else the index S would be inserted at.

Returns: Boolean - True when an item equals S.