VMS Help
Lexicals, F$MATCH_WILD
*Conan The Librarian
|
Performs a wildcard matching between a candidate and a pattern
string. TRUE is returned if the strings match.
Format
F$MATCH_WILD(candidate, pattern)
candidate
A string to which the pattern string is compared.
pattern
A string on which a wildcard match is performed comparing the
pattern to the candidate string.
$ write sys$output f$match_wild ("This is a candidate","*c%%d*")
TRUE
$
This command performs a wildcard match between the candidate
candidate and pattern *c%%d* and found that the strings match.
$ write sys$output f$match_wild ("This is a candidate text", "*candi*)
TRUE
$
This command checks to see if the pattern candi appears in the
candidate.