Check whether a string occurs in an array of strings, disregarding case.
Source position: strutils.pp line 43
function AnsiMatchText( |
const AText: AnsiString; |
const AValues: array of AnsiString |
):Boolean; |
AText |
|
String to check for. |
AValues |
|
Array of string values to search in. |
True if the value appears in the array, False if not.
AnsiIndexStr matches AText against each string in AValues. If a match is found, it returns True, otherwise False is returned. The strings are matched ignoring case.
This function simply calls AnsiIndexText and checks whether it returns -1 or not.