Class TStrings

Declaration
TStrings = class(TObject)
  function Add(Str: String): Integer;
  function AddObject(S: String; AObject: TObject): Integer;
  procedure AddStrings(Strings: TStringList);
  procedure Clear;
  property CommaText: String read GetCommaText write SetCommaText;
  property Count: Integer read GetCount;
  constructor Create;
  procedure Delete(Index: Integer);
  destructor Destroy;
  procedure Exchange(Index1: Integer; Index2: Integer);
  function Get(Index: Integer): String;
  function GetCommaText: String;
  function GetCount: Integer;
  function GetNames(Index: Integer): String;
  function GetObjects(Index: Integer): TObject;
  function GetStrings(Index: Integer): String;
  function GetText: String;
  function GetValues(Str: String): String;
  function IndexOf(Str: String): Integer;
  function IndexOfName(Str: String): Integer;
  function IndexOfObject(AObject: TObject): Integer;
  procedure Insert(Index: Integer; Str: String);
  procedure InsertObject(Index: Integer; S: String; AObject: TObject);
  procedure LoadFromFile(FileName: String);
  procedure Move(CurIndex: Integer; NewIndex: Integer);
  property Names[Index: Integer]: String read GetNames;
  property Objects[Index: Integer]: TObject read GetObjects write SetObjects;
  procedure SaveToFile(FileName: String);
  function SetCommaText(Value: String): String;
  procedure SetObjects(Index: Integer; Value: TObject);
  procedure SetStrings(Index: Integer; Value: String);
  procedure SetText(Value: String);
  procedure SetValues(Str: String; Value: String);
  property Strings[Index: Integer]: String read GetStrings write SetStrings; default;
  property Text: Integer read GetText write SetText;
  property Values[Str: String]: String read GetValues write SetValues;
end;
Description

A wrapper for the Delphi class TStrings. See Delphi help for more information.


Method TStrings.Add

Declaration
function Add(Str: String): Integer;
Description



Method TStrings.AddObject

Declaration
function AddObject(S: String; AObject: TObject): Integer;
Description



Method TStrings.AddStrings

Declaration
procedure AddStrings(Strings: TStringList);
Description



Method TStrings.Clear

Declaration
procedure Clear;
Description



Property TStrings.CommaText

Declaration
property CommaText: String read GetCommaText write SetCommaText;
Description



Property TStrings.Count

Declaration
property Count: Integer read GetCount;
Description



Method TStrings.Create

Declaration
constructor Create;
Description



Method TStrings.Delete

Declaration
procedure Delete(Index: Integer);
Description



Method TStrings.Destroy

Declaration
destructor Destroy;
Description



Method TStrings.Exchange

Declaration
procedure Exchange(Index1: Integer; Index2: Integer);
Description



Method TStrings.Get

Declaration
function Get(Index: Integer): String;
Description



Method TStrings.GetCommaText

Declaration
function GetCommaText: String;
Description



Method TStrings.GetCount

Declaration
function GetCount: Integer;
Description



Method TStrings.GetNames

Declaration
function GetNames(Index: Integer): String;
Description



Method TStrings.GetObjects

Declaration
function GetObjects(Index: Integer): TObject;
Description



Method TStrings.GetStrings

Declaration
function GetStrings(Index: Integer): String;
Description



Method TStrings.GetText

Declaration
function GetText: String;
Description



Method TStrings.GetValues

Declaration
function GetValues(Str: String): String;
Description



Method TStrings.IndexOf

Declaration
function IndexOf(Str: String): Integer;
Description



Method TStrings.IndexOfName

Declaration
function IndexOfName(Str: String): Integer;
Description



Method TStrings.IndexOfObject

Declaration
function IndexOfObject(AObject: TObject): Integer;
Description



Method TStrings.Insert

Declaration
procedure Insert(Index: Integer; Str: String);
Description



Method TStrings.InsertObject

Declaration
procedure InsertObject(Index: Integer; S: String; AObject: TObject);
Description



Method TStrings.LoadFromFile

Declaration
procedure LoadFromFile(FileName: String);
Description



Method TStrings.Move

Declaration
procedure Move(CurIndex: Integer; NewIndex: Integer);
Description



Property TStrings.Names

Declaration
property Names[Index: Integer]: String read GetNames;
Description



Property TStrings.Objects

Declaration
property Objects[Index: Integer]: TObject read GetObjects write SetObjects;
Description



Method TStrings.SaveToFile

Declaration
procedure SaveToFile(FileName: String);
Description



Method TStrings.SetCommaText

Declaration
function SetCommaText(Value: String): String;
Description



Method TStrings.SetObjects

Declaration
procedure SetObjects(Index: Integer; Value: TObject);
Description



Method TStrings.SetStrings

Declaration
procedure SetStrings(Index: Integer; Value: String);
Description



Method TStrings.SetText

Declaration
procedure SetText(Value: String);
Description



Method TStrings.SetValues

Declaration
procedure SetValues(Str: String; Value: String);
Description



Property TStrings.Strings

Declaration
property Strings[Index: Integer]: String read GetStrings write SetStrings; default;
Description



Property TStrings.Text

Declaration
property Text: Integer read GetText write SetText;
Description



Property TStrings.Values

Declaration
property Values[Str: String]: String read GetValues write SetValues;
Description