stringlist

Stores and manipulates a list of strings.

Methods

add(s)

Adds a string

clear()

Clears the list, deletes all strings

delete(number)

Deletes a line

indexof(s)

Returns the line of a string. If not found, returns -1
returns: integer

insert(pos,s)

Inserts a string to a given position

insert(0,'astring')

loadfromfile(filename)

Loads the list from a file

savetofile(filename)

Saves the list to a file

sort()

Sorts the list alphabetically

Properties

countintegerReturns the number of strings in the list
textstringGets or sets the list of strings