StringList

What is it ? What is it for ?

A stringlist is a dynamic list of words. It's a useful object when we have to manage a lot of strings but we don't know how many at the beginning of the program.

The TStringlist object is an invisible object.


Properties an procedures

Properties

Number of strings in the list

nombre := mystringList.count;

procedures

Creation

 myStringList:= TStringList.Create;

Add a string

myStringList.Add('new string');

Exchange strings in the list

myStringList((position1, position2);

Delete a string from the list

myStringList.delete(position);