AnsiMatchText

Check whether a string occurs in an array of strings, disregarding case.

Declaration

Source position: strutils.pp line 34

  function AnsiMatchText(const AText: string; 
                        const AValues: Array of string) : Boolean;

Description

AnsiIndexStr matches AText against each string in AValues. If a match is found, it returns True, otherwise False is returned. The strings are matched ignoring case.

This function simply calls AnsiIndexText and checks whether it returns -1 or not.