System.SysUtils.StrRScan

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

Delphi

function StrRScan(const Str: PAnsiChar; Chr: AnsiChar): PAnsiChar;
function StrRScan(const Str: PWideChar; Chr: WideChar): PWideChar;

C++

extern DELPHI_PACKAGE char * __fastcall StrRScan _DEPRECATED_ATTRIBUTE1("Moved to the AnsiStrings unit") (const char * Str, char Chr)/* overload */;

プロパティ

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

説明

警告: StrRScan の ANSI バージョンは廃止予定です。AnsiStrings ユニットを使用してください。

文字列内の最後の指定文字を指すポインタを返します。

StrRScan 関数は,Str 内の最後の Chr を指すポインタを返します。

Chr が Str にない場合,StrRScan は nil(Delphi)または NULL(C++)を返します。ヌルターミネータは文字列の一部とみなされます。

メモ:  ソース文字列に国別文字が含まれている場合は,かわりに AnsiStrRScan を使用します。

関連項目