System.AnsiStrings.StrPCopy
Delphi
function StrPCopy(Dest: PAnsiChar; const Source: AnsiString): PAnsiChar;
C++
extern DELPHI_PACKAGE char * __fastcall StrPCopy(char * Dest, const System::AnsiString Source)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.AnsiStrings.pas System.AnsiStrings.hpp |
System.AnsiStrings | System.AnsiStrings |
Description
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