RAD Studio VCL Reference
|
Determines if string is in string array without case-sensitivity.
function AnsiMatchText(const AText: AnsiString; const AValues: array of AnsiString): Boolean; overload;
Boolean AnsiMatchText(const AnsiString AText, const array of AnsiString AValues);
AnsiMatchText returns true if it finds a matching string in an array of strings. If the string is not found, the function returns false.
The string comparison is made without case-sensitivity and is controlled by the current user locale, as for AnsiSameText.
To make the comparison with case-sensitivity, use AnsiMatchStr.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|