Copies characters from an AnsiString (long string) into a null-terminated string.
function StrPLCopy(Dest: PChar; const Source: string; MaxLen: Cardinal): PChar;
const char * StrPLCopy(const char * Dest, const AnsiString Source, unsigned MaxLen);
SysUtils
StrPLCopy copies up to a maximum of MaxLen characters from Source into the null-terminated string Dest. StrPLCopy returns a pointer to Dest.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|