System.SysUtils.StrLCat

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function StrLCat(Dest: MarshaledAString; const Source: MarshaledAString; MaxLen: Cardinal): MarshaledAString; overload;
function StrLCat(Dest: PWideChar; const Source: PWideChar; MaxLen: Cardinal): PWideChar;

C++

extern DELPHI_PACKAGE char * __fastcall StrLCat _DEPRECATED_ATTRIBUTE1("Moved to the AnsiStrings unit") (char * Dest, const char * Source, unsigned MaxLen)/* overload */;

Properties

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

Description

Warning: The ANSI version of StrLCat is deprecated. Please use the AnsiStrings unit.

Appends up to a specified maximum number of characters to a string.

StrLCat appends a maximum MaxLen - StrLen(Dest) characters from Source to the end of Dest and returns Dest. MaxLen indicates the maximum length that is allowed in the result string.

See Also

Code Examples