|
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 The Mathematica Book: Section 2.7.3.
See also: StringPosition, Equal, Names, MatchQ.
Further Examples
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT. SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION. | |