[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Delete a string from the list.
Source position: classesh.inc line 486
public procedure TStrings.Delete( |
Index: Integer |
); virtual; abstract; |
Deletedeletes the string at position Indexfrom the list. The associated object is also removed from the list, but not destroyed. Indexis zero-based, and should be in the range 0to Count-1.
Since it is an abstract method, TStringsitself does not implement Delete. Descendent classes such as TStringListimplement this method.
If Indexis not in the allowed range, an EStringListErroris raised.
|
Insert a string in the list. |
|
|
Removes all strings and associated objects from the list. |