[Overview][Constants][Types][Procedures and functions] |
Check whether a string occurs in an array of strings, disregarding case.
Source position: strutils.pp line 34
function AnsiMatchText( |
const AText: String; |
const AValues: array [] of String |
):Boolean; |
AText |
|
String to check for |
AValues |
|
Array of string values to search in |
Trueif the value appears in the array, Falseif not.
AnsiIndexStrmatches ATextagainst each string in AValues. If a match is found, it returns True, otherwise Falseis returned. The strings are matched ignoring case.
This function simply calls AnsiIndexTextand checks whether it returns -1 or not.