TSubstringListLinguistic.Insert Method

procedure Insert(const Index: Integer; const S: string); overload;

Inserts S at Index (0..Count); the later items move up by one.

#NameDescription
1Index

The new item's index, 0..Count.

2S

The text, every text kind.

Result: stored in self (calling object)

Remarks:

Only the items' order changes: no text moves. A sorted list, or an Index outside 0..Count, raises EStringListError.