RAD Studio VCL Reference
|
Introduces abstract (Delphi) or pure virtual (C++) method to insert a string at a specified position.
procedure Insert(Index: Integer; const S: string); virtual; abstract;
virtual __fastcall Insert(int Index, const AnsiString S) = 0;
Descendants of TStrings implement an Insert method to add the string S to the list at the position specified by Index. If Index is 0, the string is inserted at the beginning of the list. If Index is 1, the string is put in the second position of the list, and so on.
All methods that add strings to the list use the Insert method to add the string.
If the string has an associated object, use the InsertObject method instead.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|