Extensions to String by using wildcards to match string
WildcardsExtension
01 Syntax
Microsoft.VisualBasic.Text.Patterns.WildcardsExtension
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| WildcardMatch | 2 | Tells if the given string matches the given wildcard. |
03 Members
WildcardMatch(
String, String, Boolean)Tells if the given string matches the given wildcard. Two wildcards are allowed: * and %.
- '*' matches any ZERO or more characters
- '%' matches any single character
Parameters
| Name | Type | Description |
|---|---|---|
wildcard | String | The wildcard. |
s | String | The s. |
ignoreCase | Boolean | if set to |
WildcardMatch(
String, String, Int32, Int32, Boolean)Internal matching algorithm.
Parameters
| Name | Type | Description |
|---|---|---|
wildcard | String | The wildcard. |
s | String | The s. |
wildcardIndex | Int32 | Index of the wildcard. |
sIndex | Int32 | Index of the s. |
ignoreCase | Boolean | if set to |