MatchStr function
Check whether a string occurs in an array of strings, observing case.
Declaration
function MatchStr(const AText: UnicodeString;
const AValues: Array of UnicodeString = UnicodeString)
: BooleanDescription
MatchStr matches
AText against each Unicode string in
AValues.
If a match is found, it returns
True, otherwise
False is returned.
The strings are matched observing case.
This function simply calls IndexStr and checks whether it returns -1 or not.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
