| [Overview][Resource strings][Constants][Types][Procedures and functions][Index] | 
Check if a string is in a list of values
Source position: strutils.pp line 41
function MatchText(  | 
const AText: string;  | 
const AValues: array of string  | 
):Boolean;  | 
const AText: UnicodeString;  | 
const AValues: array of UnicodeString  | 
):Boolean;  | 
MatchText returns True if aText equals one of the strings in aValues. The comparison is done case insensitively. If you wish to compare case sensitively, use MatchStr instead.
  | 
Check whether a string occurs in an array of strings, observing case.  | 
|
  | 
Check whether a string occurs in an array of strings, disregarding case.  | 
|
  | 
Index of text in a list of values  |