System.WideStrUtils.WStrCopy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function WStrCopy(Dest: PWideChar; const Source: PWideChar): PWideChar;

C++

extern DELPHI_PACKAGE System::WideChar * __fastcall WStrCopy(System::WideChar * Dest, const System::WideChar * Source);

Properties

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

Description

Copies a PWideChar to another PWideChar.

Use WStrCopy to copy Source to Dest. WStrCopy returns Dest.

WStrCopy does not perform any length check. The destination buffer must have room for at least WStrLen(Source) + 1 characters.

For length checking, use the WStrLCopy function.

See Also