System.StrUtils.MatchText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

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

Description

MatchText determines if any of the strings in the array AValues match the string specified by AText using a case insensitive 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 sensitive comparison, use the MatchStr routine.

See Also