TStringList.Insert

procedure Insert(Index: Integer; S: string) Index: index of Strings[] S: string to be inserted

Description
Insert will insert the string S at position Index in the list. If the list is sorted, an exception will occur instead. Index is a zero-based position; If Index is below 0 or higher than Count, an exception occurs.