TSubstringListInvariant.Remove Method

function Remove(const S: string): Integer; overload;

Deletes the first item equal to S.

#NameDescription
1S

The text, every text kind.

Returns: Integer - Its index, or -1 when there is none.