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