TTMSFNCUtils.Matches Method
Compares a null-terminated string with a wildcard pattern.
API unit family: TMSFNCUtils
Declaring type: TTMSFNCUtils
Overloads
Overload 1
Compares a null-terminated string with a wildcard pattern.
class function Matches(s0a, s1a: PChar): Boolean; overload;
Parameters
| Name | Description |
|---|---|
s0a |
Wildcard pattern. |
s1a |
Value to compare. |
Returns
True when the value matches the pattern.
Overload 2
Compares a string with a wildcard pattern.
class function Matches(s0a, s1a: string): Boolean; overload;
Parameters
| Name | Description |
|---|---|
s0a |
Wildcard pattern. |
s1a |
Value to compare. |
Returns
True when the value matches the pattern.