AnsiStrings.MatchStr

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From AnsiStrings.pas

	function MatchStr(const AText: AnsiString; const AValues: array of AnsiString): Boolean; overload;


Unit: AnsiStrings

Type: function

Visibility: public

C++ Information

From AnsiStrings.hpp

	bool __fastcall MatchStr(System::AnsiStringT<0> AText, const System::AnsiStringT<0> * AValues, int AValues_Size);


Unit: AnsiStrings

Type: function

Description

Determines if string in string array with case-sensitivity.


MatchStr returns true if it finds a matching string in an array of strings. If the string is not found, the function returns false.

The string comparison is made with case-sensitivity and is controlled by the current user locale, as for SameText.

This function is the same as AnsiMatchStr.

To make the comparison without case-sensitivity, use MatchText.

See Also

Personal tools
Translations
Newest Version