Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TAnsiStringBuilder.Create

Create a new TAnsiStringBuilder instance.

Declaration

Source position: syssbh.inc line 32

public constructor TAnsiStringBuilder.Create;

constructor TAnsiStringBuilder.Create(

  aCapacity: Integer

);

constructor TAnsiStringBuilder.Create(

  const AValue: AnsiString

);

constructor TAnsiStringBuilder.Create(

  aCapacity: Integer;

  aMaxCapacity: Integer

);

constructor TAnsiStringBuilder.Create(

  const AValue: AnsiString;

  aCapacity: Integer

);

constructor TAnsiStringBuilder.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

Capacity

  

Current capacity of the string buffer.

MaxCapacity

  

Maximum capacity of the string buffer.


Documentation generated on: Jul 24 2023