AnsiMatchStr

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

Declaration

Source position: strutils.pp line 52

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

Description

AnsiMatchStr matches AText against each 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 AnsiIndexStr and checks whether it returns -1 or not.

results matching ""

    No results matching ""