Show: Delphi C++
Display Preferences

System.MoveChars

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MoveChars(const Source; var Dest; Length: Integer);

C++

extern DELPHI_PACKAGE void __fastcall MoveChars(const void *Source, void *Dest, int Length);

Properties

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

Description

Copies bytes from a source to a destination.

MoveChars copies Length bytes from Source to Dest. MoveChars compensates for overlaps between the source and destination blocks.

Note: MoveChars assumes that the size of Char is 2 Bytes (when Unicode is enabled). Use the Move function to copy characters from a string that has character size different from SizeOf(Char).

See Also


Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance