help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions] Reference for unit 'strutils' (#rtl)

AnsiMatchStr

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

Declaration

Source position: strutils.pp line 45

function AnsiMatchStr(

  const AText: String;

  const AValues: array of String

):Boolean;

Arguments

AText

  

String to check for

AValues

  

Array of string values to search in

Function result

True if the value appears in the array, False if not.

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 observing case.

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

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505