TStringList.IndexOf

Function IndexOf(SearchTerm: String): Integer;
Example: S.CommaText := 'Acrobatics, SpellCraft, Stealth'; Writeln(S.IndexOf('Cat')); results in -1.

Note: The list is zero-based.

Note: IndexOf is case-sensitive.