| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Copy an ansistring to a null-terminated string.
Source position: syspchh.inc line 39
function StrPCopy(  | 
Dest: PChar;  | 
const Source: string  | 
):PChar; overload;  | 
Dest: PWideChar;  | 
const Source: UnicodeString  | 
):PWideChar; overload;  | 
StrPCopy Converts the Ansistring in Source to a Null-terminated string, and copies it to Dest. Dest needs enough room to contain the string Source, i.e. Length(Source)+1 bytes.
No checking is performed to see whether Dest points to enough memory to contain Source.
  | 
Copy a limited number of characters from an ansistring to a null-terminated string.  | 
|
  | 
Convert a null-terminated string to an ansistring.  |