Difference between revisions of "TStringList"
From Lazarus wiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
A '''TStringList''' is a datatype that can hold an arbitrary length list of [[String|strings]]. The strings in a TStringList are accessible as concatenated plain text or as a series of strings. | A '''TStringList''' is a datatype that can hold an arbitrary length list of [[String|strings]]. The strings in a TStringList are accessible as concatenated plain text or as a series of strings. | ||
− | + | ;Inheritance | |
*[[TObject]] - Base class of all classes. | *[[TObject]] - Base class of all classes. | ||
**[[TPersistent]], [[IFPObserved]] - Base class for streaming system and persistent properties - Interface implemented by an object that can be observed. | **[[TPersistent]], [[IFPObserved]] - Base class for streaming system and persistent properties - Interface implemented by an object that can be observed. | ||
***[[TStrings]] - Class to manage arrays or collections of strings | ***[[TStrings]] - Class to manage arrays or collections of strings | ||
****'''TStringList''' - Standard implementation of the TStrings class. | ****'''TStringList''' - Standard implementation of the TStrings class. | ||
+ | |||
+ | TStringList adds sorting functionality to [[TStrings]] by adding propertie <tt>Sorted</tt>, <tt>Duplicates</tt> and <tt>CaseSensitive</tt> and methods like <tt>Find</tt> to facilitate speeded search within a list. | ||
==See also== | ==See also== |
Revision as of 11:58, 23 February 2017
A TStringList is a datatype that can hold an arbitrary length list of strings. The strings in a TStringList are accessible as concatenated plain text or as a series of strings.
- Inheritance
- TObject - Base class of all classes.
- TPersistent, IFPObserved - Base class for streaming system and persistent properties - Interface implemented by an object that can be observed.
- TStrings - Class to manage arrays or collections of strings
- TStringList - Standard implementation of the TStrings class.
- TStrings - Class to manage arrays or collections of strings
- TPersistent, IFPObserved - Base class for streaming system and persistent properties - Interface implemented by an object that can be observed.
TStringList adds sorting functionality to TStrings by adding propertie Sorted, Duplicates and CaseSensitive and methods like Find to facilitate speeded search within a list.