Copies characters from an AnsiString (long string) into a null-terminated string.
function StrPLCopy(Dest: PAnsiChar; const Source: AnsiString; MaxLen: Cardinal): PAnsiChar; overload; function StrPLCopy(Dest: PWideChar; const Source: UnicodeString; MaxLen: Cardinal): PWideChar; overload;
PAnsiChar StrPLCopy(PAnsiChar Dest, const AnsiString Source, unsigned MaxLen); PWideChar StrPLCopy(PWideChar Dest, const UnicodeString Source, unsigned MaxLen);
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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|