TROSimpleStringBuilder

Overview

Location

 

constructor Create

Creates a new instance with a supplied value.

constructor Create(aCapacity: Integer)

Parameters:

  • aCapacity:

Append (UnicodeChar): TROSimpleStringBuilder  overload

function Append(Value: UnicodeChar): TROSimpleStringBuilder

Parameters:

  • Value:

Append (UnicodeString): TROSimpleStringBuilder  overload

function Append(Value: UnicodeString): TROSimpleStringBuilder

Parameters:

  • Value:

AppendLine  overload

function AppendLine: TROSimpleStringBuilder

AppendLine (string): TROSimpleStringBuilder  overload

function AppendLine(const Value: string): TROSimpleStringBuilder

Parameters:

  • Value:

AsString  overload

Returns context of string builder

function AsString: UnicodeString

AsString (Integer, Integer): UnicodeString  overload

function AsString(aStartIndex: Integer; aStrLength: Integer): UnicodeString

Parameters:

  • aStartIndex:
  • aStrLength:

Clear

Clears content of string builder

procedure Clear

Insert

function Insert(Index: Integer; const Value: UnicodeString): TROSimpleStringBuilder

Parameters:

  • Index:
  • Value:

Length

property Length: Integer read write

 

Length

property Length: Integer read write

 

constructor Create

Creates a new instance with a supplied value.

constructor Create(aCapacity: Integer)

Parameters:

  • aCapacity:

Append (UnicodeChar): TROSimpleStringBuilder  overload

function Append(Value: UnicodeChar): TROSimpleStringBuilder

Parameters:

  • Value:

Append (UnicodeString): TROSimpleStringBuilder  overload

function Append(Value: UnicodeString): TROSimpleStringBuilder

Parameters:

  • Value:

AppendLine  overload

function AppendLine: TROSimpleStringBuilder

AppendLine (string): TROSimpleStringBuilder  overload

function AppendLine(const Value: string): TROSimpleStringBuilder

Parameters:

  • Value:

AsString  overload

Returns context of string builder

function AsString: UnicodeString

AsString (Integer, Integer): UnicodeString  overload

function AsString(aStartIndex: Integer; aStrLength: Integer): UnicodeString

Parameters:

  • aStartIndex:
  • aStrLength:

Clear

Clears content of string builder

procedure Clear

Insert

function Insert(Index: Integer; const Value: UnicodeString): TROSimpleStringBuilder

Parameters:

  • Index:
  • Value: