|
StringMatchQ
StringMatchQ["string", "pattern"] yields True if string matches the specified string pattern, and yields False otherwise.
The pattern string can contain literal characters, together with the metacharacters * and @ specified in Section A.3.13.
Example: StringMatchQ["apppbb", "a*b"]  .
Setting the option IgnoreCase -> True makes StringMatchQ treat lower- and upper-case letters as equivalent.
Setting the option SpellingCorrection -> True makes StringMatchQ allow strings to match even if a small fraction of their characters are different.
See Section 2.8.3.
See also: StringPosition, Equal, Names, MatchQ.
New in Version 1.
Further Examples
|