Show: Object Pascal C++
Display Preferences

System.AnsiStrings.StrPLCopy

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function StrPLCopy(Dest: PAnsiChar; const Source: AnsiString; MaxLen: Cardinal): PAnsiChar;

C++

extern DELPHI_PACKAGE char * __fastcall StrPLCopy(char * Dest, const System::AnsiString Source, unsigned MaxLen)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.AnsiStrings.pas
System.AnsiStrings.hpp
System.AnsiStrings System.AnsiStrings

Description

Copies characters from an AnsiString (long string) to a null-terminated string.

StrPLCopy copies up to a maximum of MaxLen characters from Source to the null-terminated string Dest. StrPLCopy returns a pointer to Dest.

Note: Dest should point to a location with room for MaxLen + 1 characters, including the null terminator.
Personal tools
Translations