System.StrUtils.AnsiRightStr

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

Delphi

function AnsiRightStr(const AText: string; const ACount: Integer): string;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall AnsiRightStr(const System::UnicodeString AText, const int ACount)/* overload */;

プロパティ

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

説明

文字列の最後に表示される指定された長さの部分文字列を返します。

AnsiRightStr 関数は,AText の末尾から ACount 以内の文字数を返します。したがって,たとえば,AText が「Programmer」という文字列で,ACount が 7 であるとすると,AnsiRightStr は「grammer」という文字列を返します。

関連項目