TAnsiStringBuilder.Insert function
Insert data in string form into the buffer at a given position.
Declaration
function Insert(Index: Integer; const AValue: Boolean)
: TAnsiStringBuilder
function Insert(Index: Integer; const AValue: Byte): TAnsiStringBuilder
function Insert(Index: Integer; const AValue: AnsiChar)
: TAnsiStringBuilder
function Insert(Index: Integer; const AValue: Currency)
: TAnsiStringBuilder
function Insert(Index: Integer; const AValue: Double)
: TAnsiStringBuilder
function Insert(Index: Integer; const AValue: SmallInt)
: TAnsiStringBuilder
function Insert(Index: Integer; const AValue: LongInt)
: TAnsiStringBuilder
function Insert(Index: Integer; const AValue: Array of AnsiChar = char)
: TAnsiStringBuilder
function Insert(Index: Integer; const AValue: Int64)
: TAnsiStringBuilder
function Insert(Index: Integer; const AValue: TObject)
: TAnsiStringBuilder
function Insert(Index: Integer; const AValue: ShortInt)
: TAnsiStringBuilder
function Insert(Index: Integer; const AValue: Single)
: TAnsiStringBuilder
function Insert(Index: Integer; const AValue: AnsiString)
: TAnsiStringBuilder
function Insert(Index: Integer; const AValue: Word): TAnsiStringBuilder
function Insert(Index: Integer; const AValue: Cardinal)
: TAnsiStringBuilder
function Insert(Index: Integer; const AValue: UInt64)
: TAnsiStringBuilder
function Insert(Index: Integer; const AValue: AnsiString;
const aRepeatCount: Integer): TAnsiStringBuilder
function Insert(Index: Integer; const AValue: Array of AnsiChar = char;
startIndex: Integer; SBCharCount: Integer)
: TAnsiStringBuilderDescription
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:
- For integer values the various IntToSTr functions will be used.
- For
TObjecttheToStringis used. - The
repeatCountargument will insert the character as many times as instructed. - If the
StartIndexandSBCharCountare specified, thenSBCharCountcharacters are copied starting from positionStartIndex.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
