method LoadFromFile(FileName: String)
Available for StringList Objects. Populates a StringList from a delimited file. This will clear all existing strings from the list.
LoadFromFile method syntax has these named arguments:
Parameter |
Description |
|---|---|
FileName |
Required. The file to populate the Stringlist Object from. |
For example:
strList.LoadFromFile("Stringlist.txt")
will clear the existing strList Object, and populate the list from the Stringlist.txt file.
See also the Memory Table and Table LoadFromFile method.