System.SysUtils.StrCat

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function StrCat(Dest: PAnsiChar; const Source: PAnsiChar): PAnsiChar;
function StrCat(Dest: PWideChar; const Source: PWideChar): PWideChar;

C++

extern DELPHI_PACKAGE char * __fastcall StrCat _DEPRECATED_ATTRIBUTE1("Moved to the AnsiStrings unit") (char * Dest, const char * Source)/* 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 StrCat is deprecated. Please use the AnsiStrings unit.

Appends a copy of Source to the end of Dest and returns the concatenated string.

Use StrCat to concatenate Source to the end of Dest. StrCat does not perform any length check. The destination buffer must have room for at least StrLen(Dest)+StrLen(Source)+1 characters.

To check length, use the StrLCat function.

See Also

Code Examples