[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

TStringHelper.Insert

Insert a string at a given position

Declaration

Source position: syshelph.inc line 129

public function TStringHelper.Insert(

  StartIndex: SizeInt;

  const AValue: string

):string;

Description

Insert inserts the string AValue in a string (Self) at the (zero-based) position StartIndex. It returns the resulting string (Self). If StartIndex is less than zero, it is set to zero. If StartIndex is higher than the length, AValue is appended to the string.

See also

Insert

  

Insert one string or dynamic array in another.


Documentation generated on: Jun 22 2020