System.SysUtils.TStringBuilder.CopyTo

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CopyTo(SourceIndex: Integer; const Destination: TCharArray; DestinationIndex: Integer; Count: Integer);

C++

void __fastcall CopyTo(int SourceIndex, const System::DynamicArray<System::WideChar> Destination, int DestinationIndex, int Count);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils TStringBuilder

Description

Copies a part of the instance character array into a destination string.

Use CopyTo to copy a part of the instance character array into a destination string.

SourceIndex specifies the first character in the instance character array to copy.

Destination indicates the character array to copy to.

DestinationIndex specifies the position in the destination string to insert the substring.

Count is the number of characters to copy.

See Also