match (<string>,<wild>)
numeric
Whether a string matches a wild pattern: one if it does, zero if it doesn’t.
<>string>
String to test.
<wild>
Wild pattern string.
Wild characters are:
* 0 or any number of characters ? any single character # one or more numeric characters ` one or more alphabetic characters (letters)
Strings can also be wild-matched in a conditional expression using the ==% operator, e.g.
if (mystring ==% '#.#') !Text is a decimal value
The following returns the value of 1.
if (match('file.dat','*.dat')) !it matches