System.StrUtils.AnsiIndexText

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

Delphi

function AnsiIndexText(const AText: string; const AValues: array of string): Integer;

C++

extern DELPHI_PACKAGE int __fastcall AnsiIndexText(const System::UnicodeString AText, const System::UnicodeString *AValues, const System::NativeInt AValues_High)/* overload */;

プロパティ

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

説明

文字列の配列中にある指定された文字列のインデックスを提供します。

AnsiIndexText 関数は,AValues で最初に検出した AText と一致する文字列(大文字小文字を区別しない)の,オフセット 0 のインデックスを返します。AValues 内に AText で指定の文字列と(おそらく大文字小文字を区別せずに)一致するものがない場合,AnsiIndexText は –1 を返します。比較は,現在のシステムロケールに基づきます。

関連項目