System.AnsiStrings.MatchStr
Delphi
function MatchStr(const AText: AnsiString; const AValues: array of AnsiString): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall MatchStr(const System::AnsiString AText, const System::AnsiString *AValues, const int AValues_High)/* overload */;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.AnsiStrings.pas System.AnsiStrings.hpp |
System.AnsiStrings | System.AnsiStrings |
説明
文字列が文字列の配列内にあるかどうかを、大文字と小文字を区別して判定します。
MatchStr は、文字列の配列内に一致する文字列がある場合、true を返します。文字列が見つからない場合、この関数は false を返します。
文字列の比較は、SameText と同様に、大文字と小文字を区別して行われ、現在のユーザーのロケールによって制御されます。
この関数は、AnsiMatchStr と同じです。
大文字と小文字を区別しないで比較する場合は、MatchText を使用します。