System.StrUtils.AnsiMatchStr

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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 */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
System.StrUtils.pas
System.StrUtils.hpp
System.StrUtils System.StrUtils

Beschreibung

Gibt an, ob ein Stringarray eine exakte Übereinstimmung mit dem angegebenen String enthält.

Mit AnsiMatchStr können Sie ermitteln, ob der String AText im Array AValues enthalten ist. Die Suche erfolgt unter Berücksichtigung der Groß-/Kleinschreibung.

Siehe auch