string.wildcardMatch
| Syntax |
string.wildcardMatch (s, pattern, flCaseSensitive)
|
| Params |
pattern is a character or string of one or more characters to be searched for. s is the string to be searched in an effort to find pattern. flCaseSensitive is an optional boolean determining whether the search should be case-sensitive. Default: True.
|
| Action |
Checks if the wildcard pattern is found in the string.
|
| Returns |
Returns true if s matches the wildcard pattern.
|
| Examples |
string.wildcardMatch ("Rudy Kiesler", "*y*") » true
string.wildcardMatch ("Rudy Kiesler", "*t*")
string.wildcardMatch ("Rudy Kiesler", "*Y*", true)
string.wildcardMatch ("Let's go for a swim.", "*for*")
|
| Notes |
This verb is implemented in script.
|