StringMatchQ

WMA link


StringMatchQ[“string”, pattern]

Returns True if “string” matches pattern and False otherwise.

StringMatchQ[{$string_1$ $string_2$, ...}, pattern]

produces a list of boolean values for each of the $string_i$

StringMatchQ[pattern]

represents an operator form of StringMatchQ that can be applied to an expression.

Test a list of strings against a pattern:

Use StringMatchQ as an operator

StringFreeQ
StringQ