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

TAnsiStringBuilder.Insert

Insert data in string form into the buffer at a given position.

Declaration

Source position: syssbh.inc line 91

public function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: Boolean

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: Byte

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: AnsiChar

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: Currency

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: Double

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: SmallInt

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: LongInt

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: array of AnsiChar

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: Int64

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: TObject

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: ShortInt

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: Single

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: AnsiString

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: Word

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: Cardinal

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: UInt64

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: AnsiString;

  const aRepeatCount: Integer

):TAnsiStringBuilder;

function TAnsiStringBuilder.Insert(

  Index: Integer;

  const AValue: array of AnsiChar;

  startIndex: Integer;

  SBCharCount: Integer

):TAnsiStringBuilder;

Description

Insert in its various overloaded forms will insert the aValue argument into the buffer at position Index (0-based), after converting it to a string value if necessary:

See also

AppendFormat

  

Append the result of a Format.

AppendLine

  

Append a string followed by a newline.

Append

  

Append data in string form to the buffer.

Remove

  

Remove data from the string.

Replace

  

Replace a range of characters.


Documentation generated on: Nov 22 2024