WildMatch

STD.Str.WildMatch( source, pattern, nocase )

STD.Uni.WildMatch( source, pattern, nocase )

sourceA string containing the data to search.
pattern A string containing the wildcard expression to match. Valid wildcards are ? (single character) and * (multiple character).
nocaseA boolean true or false indicating whether to ignore the case.
Return: WildMatch returns a BOOLEAN value.

The WildMatch function returns TRUE if the pattern matches the source.

The case-insensitive version of the Unicode WildMatch has been optimized for speed over accuracy. For accurate case-folding, you should either use the Unicode ToUpperCase function explicitly and then a case-sensitive the Unicode WildMatch, or use REGEXFIND.

Example:

STD.Str.wildmatch('abcdeabcdec', 'a?c*', false) = TRUE;