System.StrUtils.AnsiIndexStr
Delphi
function AnsiIndexStr(const AText: string; const AValues: array of string): Integer;
C++
extern DELPHI_PACKAGE int __fastcall AnsiIndexStr(const System::UnicodeString AText, const System::UnicodeString *AValues, const int AValues_High)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.StrUtils.pas System.StrUtils.hpp |
System.StrUtils | System.StrUtils |
説明
文字列の配列中にある指定された文字列のインデックスを提供します。
AnsiIndexStr は,AValues で最初に検出した AText と一致する文字列(大文字と小文字を区別)の,オフセット 0 のインデックスを返します。AText で指定した文字列と正確に一致する文字列が AValues にない場合,AnsiIndexStr は –1 を返します。