Sign in Join
FPDoc Onlineexperiment

TStringList.Insert procedure

Member of TStringListpublicIn unit Classes

Overrides the Insert method.

Declaration

pascal
procedure Insert(Index: Integer; const S: string); override

Description

Insert will insert the string S at position Index in the list. If the list is sorted, an EStringListError exception will be raised instead. Index is a zero-based position.

Errors

If Index contains an invalid value (less than zero or larger than Count, or the list is sorted, an EStringListError exception will be raised.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.