Sign in Join
FPDoc Onlineexperiment

TAnsiStringBuilder.Create constructor

Member of TAnsiStringBuilderpublicIn unit sysutils

Create a new TAnsiStringBuilder instance.

Declaration

pascal
constructor Create
constructor Create(aCapacity: Integer)
constructor Create(const AValue: AnsiString)
constructor Create(aCapacity: Integer; aMaxCapacity: Integer)
constructor Create(const AValue: AnsiString; aCapacity: Integer)
constructor Create(const AValue: AnsiString; StartIndex: Integer; 
 aLength: Integer; aCapacity: Integer)

Description

Create creates an empty TAnsiStringBuilder instance. It can optionally set the initial capacity to aCapacity and the maximum capacity to aMaxCapacity and can also initialize the string buffer with characters from aValue: aLength characters starting at StartIndex (1-based) will be copied to the string buffer. If aLength and StartIndex are omitted, then all characters are copied.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.