Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TStringHelper.CopyTo

Copy part of the string to an array of characters.

Declaration

Source position: syshelph.inc line 102

public procedure TStringHelper.CopyTo(

  SourceIndex: SizeInt;

  var destination: array of char;

  DestinationIndex: SizeInt;

  ACount: SizeInt

);

Description

CopyTo copies at most ACount characters from the source string (Self) to the array Destination, starting at (zero based) index SourceIndex. The characters are copied to the array starting at position DestinationIndex (zero based).

See also

Copy

  

Copy part of a string or dynamic array.


Documentation generated on: Feb 02 2025