Skip to main content
Table of Contents

TTMSFNCUtils.MatchStr Method

Compares a value with a wildcard pattern.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

FMX.TMSFNCUtils.hppPascalC++
class function MatchStr(AValue1, AValue2:string; ACaseSensitive: Boolean): Boolean;
__classmethod bool __fastcall MatchStr(System::UnicodeString AValue1, System::UnicodeString AValue2, bool ACaseSensitive);

Parameters

Name Description
AValue1 Wildcard pattern or comparison expression.
AValue2 Value to compare.
ACaseSensitive When True, comparison preserves case.

Returns

True when the value matches.