RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
StrUtils.MatchStr Function

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.

Pascal
function MatchStr(const AText: string; const AValues: array of string): Boolean;
C++
Boolean MatchStr(const AnsiString AText, const array of string AValues);

StrUtils

For a case insensitive match, use the MatchText routine. 

 

Commonly Used Long String Routines 

String Types 

String Constants 

MatchText

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!