System.AnsiStrings.LeftBStr
Delphi
function LeftBStr(const AText: AnsiString; const AByteCount: Integer): AnsiString;
C++
extern DELPHI_PACKAGE System::AnsiString __fastcall LeftBStr(const System::AnsiString AText, const int AByteCount);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.AnsiStrings.pas System.AnsiStrings.hpp |
System.AnsiStrings | System.AnsiStrings |
説明
文字列の先頭から始まる指定バイト数の部分文字列を返します。
LeftBStr は、AText の先頭から始まる AByteCount バイトの長さのバイト データを返します。
メモ: LeftBStr は、すべての文字が 1 バイト長であると仮定しており、AText にマルチバイト文字が含まれている場合には正しく動作しません。あらゆる文字列を正しく処理するには、LeftStr を使用してください。