System.StrUtils.AnsiMatchStr

From RAD Studio API Documentation
Jump to: navigation, search

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

Properties

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

Description

Indicates whether an array of strings contains an exact match to a specified string.

Call AnsiMatchStr to determine whether the string specified by AText matches one of the strings in AValues. Comparisons are case-sensitive.

See Also