Table of Contents

TTMSFNCUtils.MatchStr Method

Compares a value with a wildcard pattern.

API unit family: TMSFNCUtils Declaring type: TTMSFNCUtils

Syntax

class function MatchStr(AValue1, AValue2:string; ACaseSensitive: Boolean): Boolean;

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.