System.StrUtils.RightBStr

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function RightBStr(const AText: AnsiString; const AByteCount: Integer): AnsiString;

C++

extern DELPHI_PACKAGE System::AnsiString __fastcall RightBStr _DEPRECATED_ATTRIBUTE1("Moved to the AnsiStrings unit") (const System::AnsiString AText, const int AByteCount);

プロパティ

種類 可視性 ソース ユニット
function public
System.StrUtils.pas
System.StrUtils.hpp
System.StrUtils System.StrUtils

説明

警告: RightBStr は非推奨になっています。 AnsiStrings を使用してください。

文字列の末尾の特定バイト数分の部分文字列を返します。

RightBStr 関数は,AText の末尾から AByteCount 以内のバイト数を返します。

メモ:  RightBStr は,すべての文字が 1 バイト長であると想定しているため,AText にマルチバイトの文字が含まれている場合は,正しく機能しません。すべての文字列を正しく処理するには,RightStr 関数を使用してください。

関連項目