RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStringBuilder.CopyTo Method

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

Pascal
procedure CopyTo(SourceIndex: Integer; const Destination: TCharArray; DestinationIndex: Integer; Count: Integer);
C++
__fastcall CopyTo(int SourceIndex, const TCharArray Destination, int DestinationIndex, int Count);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!