wildmatch - script and chart function
Last updated: 2/27/2026
The wildmatch function compares the first parameter with all the following ones and returns the number of expression that matches. It permits the use of wildcard characters ( * and ?) in the comparison strings. The comparison is case insensitive and insensitive to the Japanese Hiragana and Katakana character systems.
Syntax:
wildmatch( str, expr1 [ , expr2,...exprN ])
Examples and results:
| Example | Result |
|---|---|
| wildmatch( M, 'ja*','fe?','mar') |
returns 1 if M = January returns 2 if M = fex |