System.SysUtils.StrCat
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 */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
説明
警告: StrCat の ANSI バージョンは廃止予定です。AnsiStrings ユニットを使用してください。
Source のコピーを Dest の最後に追加し,結合された文字列を返します。
StrCat 関数を使用すると,Source を Dest の末尾に連結できます。StrCat は長さをチェックしません。コピー先のバッファには最低でも StrLen(Dest) + StrLen(Source) + 1 バイト分の領域がなくてはなりません。
長さをチェックするには,StrLCat 関数を使用します。