StrPLCopy function
Copy a limited number of characters from an ansistring to a null-terminated string.
Declaration
function StrPLCopy(Dest: PAnsiChar; const Source: RawByteString;
MaxLen: SizeUInt): PAnsiChar; overloadDescription
StrPLCopy Converts maximally
MaxLen characters of the
Ansistring in
Source to a Null-terminated string, and copies
it to
Dest.
Dest needs enough room to contain
the characters.Errors
No checking is performed to see whether
Dest points to enough memory
to contain L characters of
Source.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
