_maskfit.pub Utility - Mask Fit
Syntax
call "_maskfit.pub",teststr,maskstr,strvar
Description
The _maskfit.pub utility compares teststr against maskstr and returns a pass/fail indication in the strvar string variable. If the text string does not fit the mask, then "NO FIT" is returned. If the fit is successful, null is returned.
The mask fit routine will accept "*" and "?" as wild card characters. The rules for wildcards are:
|
Character |
Description |
|---|---|
|
* |
Matches any number of characters (including zero). |
|
? |
Matches any single character. |
Any other character must match exactly.
Examples
|
Related Files/Programs
_tables.dat