System.AnsiStrings.AnsiMatchText

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

Delphi

function AnsiMatchText(const AText: AnsiString; const AValues: array of AnsiString): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall AnsiMatchText(const System::AnsiString AText, System::AnsiString const *AValues, const int AValues_High)/* overload */;

プロパティ

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

説明

文字列が文字列の配列内にあるかどうかを、大文字と小文字を区別しないで判定します。

AnsiMatchText は、文字列の配列内に一致する文字列がある場合、true を返します。文字列が見つからない場合、この関数は false を返します。

文字列の比較は、AnsiSameText と同様に、大文字と小文字を区別しないで行われ、現在のユーザーのロケールによって制御されます。

大文字と小文字を区別して比較する場合は、AnsiMatchStr を使用します。

関連項目