[Overview][Constants][Types][Procedures and functions] |
Check whether a string occurs in an array of strings, observing case.
Source position: strutils.pp line 45
function AnsiMatchStr( |
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 observing case.
This function simply calls AnsiIndexStrad checks whether it returns -1 or not.