Show: Object Pascal C++
Display Preferences

System.SysUtils.StrPCopy

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function StrPCopy(Dest: PAnsiChar; const Source: AnsiString): PAnsiChar;
function StrPCopy(Dest: PWideChar; const Source: UnicodeString): PWideChar;

C++

extern DELPHI_PACKAGE char * __fastcall StrPCopy _DEPRECATED_ATTRIBUTE1("Moved to the AnsiStrings unit") (char * Dest, const System::AnsiString Source)/* overload */;

Properties

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

Description

Warning: Ansi version of StrPCopy is deprecated. Please use AnsiStrings unit.

Copies an AnsiString (long string) to a null-terminated string.

StrPCopy copies Source into a null-terminated string Dest. It returns a pointer to Dest.

StrPCopy does not perform any length check.

The destination buffer must have room for at least Length(Source)+1 characters.

See Also

Code Examples


Personal tools
Translations