System.StrUtils.MatchStr

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
function public
System.StrUtils.pas
System.StrUtils.hpp
System.StrUtils System.StrUtils

Description

MatchStr determines if any of the strings in the array AValues match the string specified by AText using a case sensitive comparison. It returns true if at least one of the strings in the array match, or false if none of the strings match.

For a case insensitive match, use the MatchText routine.

See Also