Methods of the TStringList class for working with strings.

 

Add

adding a string to the list and get its index;

Append

adding a string at the end of the list;

Clear

clear the list;

Create

create a list, class constructor;

Delete

delete a string with a specified number from the list;

Exchange

swap two strings by index;

Free

delete a list from memory, class destructor;

IndexOf

searching for string index in the list by exact match;

Insert

insert a string to the list by position number;

LoadFromFile

upload the string list from a text file;

Move

move a string to a position with a specified index;

SaveToFile

save a string list to a text file;

Sort

sort the list in alphabetical order;