System.StrUtils.AnsiMatchStr

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

Delphi

function AnsiMatchStr(const AText: string; const AValues: array of string): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall AnsiMatchStr(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

説明

文字列の配列に指定された文字列と正確に一致する文字列が含まれているかどうかを示します。

AnsiMatchStr 関数を呼び出すと,AText で指定した文字列が,AValues に含まれる文字列のうちの 1 つと一致するかどうかを知ることができます。比較では,大文字と小文字を区別します。

関連項目