F$MATCH_WILD() is a lexial function that performs a wildcard matching between a candidate and a pattern string. TRUE is returned if the strings match.
A string to which the pattern string is compared.
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.