[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 109

public function TStringHelper.Insert(

  StartIndex: Integer;

  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 in another.


Documentation generated on: Mar 17 2017