System.WideStrUtils.WStrPLCopy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function WStrPLCopy(Dest: PWideChar; const Source: WideString; MaxLen: Cardinal): PWideChar;

C++

extern DELPHI_PACKAGE System::WideChar * __fastcall WStrPLCopy(System::WideChar * Dest, const System::WideString Source, unsigned MaxLen);

Properties

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

Description

Copies characters from a WideString into a PWideChar.

WStrPLCopy copies up to a maximum of MaxLen characters from Source into the PWideChar Dest. WStrPLCopy returns a pointer to Dest.

Note: Dest should point to a location with room for MaxLen + 1 characters, including the null terminator.

See Also