<< Click to display table of contents >> TRVStringList |
A string list capable to store Unicode strings in all versions of Delphi.
Unit [VCL/FMX]: RVClasses / fmxRVClasses;
Syntax:
TRVStringList = class (TStringList)
For Unicode versions of Delphi, TRVStringList is a TStringList with some additional methods.
For old versions of Delphi and Lazarus, it stores strings as UTF-8 inside, but methods work with TRVUnicodeString parameters. There are some unsupported features in this mode: Sorted property and andling duplicates. However, the following methods work and perform correct comparisons: Sort, FindUnicodeString, IndexOfUnicodeString, IndexOfUnicodeName.
Most important methods:
function AddUnicodeString(
const S: TRVUnicodeString): Integer;
function GetUnicodeString(
Index: Integer): TRVUnicodeString;
procedure SetUnicodeString(Index: Integer;
const Value: TRVUnicodeString);