Skip to content

TStringHelper.Remove

Remove a number of characters from the string

Declaration

Source position: syshelph.inc line 148

public 
  function Remove(StartIndex: SizeInt) : string;  Overload;
  function Remove(StartIndex: SizeInt; ACount: SizeInt) : string
                 ;  Overload;

Description

Remove removes ACount characters from the string, starting at (zero-based) index StartIndex. If ACount is omitted, all remaining characters are removed.

See also

Name Description
Delete Delete elements (characters) from a string or dynamic array.
TStringHelper.Insert Insert a string at a given position
TStringHelper.Replace Replace occurrences of one string with another.