RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
StrUtils.AnsiMatchStr Function

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

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

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!