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

TStringHelper.Substring

Return a part of the string

Declaration

Source position: syshelph.inc line 154

public function TStringHelper.Substring(

  AStartIndex: Integer

):string; overload;

function TStringHelper.Substring(

  AStartIndex: Integer;

  ALen: Integer

):string; overload;

Description

SubString returns the portion of the string starting at (zero-based) index AStartIndex with length ALen. If ALen is omitted, then all remaining characters are returned.

See also

TStringHelper.Insert

  

Insert a string at a given position

Copy

  

Copy part of a string.

TStringHelper.ToCharArray

  

Return the string ar an array of characters.


Documentation generated on: Sep 28 2017