Sign in Join
FPDoc Onlineexperiment

MatchText function

In unit StrUtils

Check if a string is in a list of values.

Declaration

pascal
function MatchText(const AText: Ansistring; 
 const AValues: Array of Ansistring): Boolean

Description

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.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.