This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Programming / String Manipulation /

NameQ

FilledSmallSquare NameQ["string"] yields True if there are any symbols whose names match the string pattern given, and yields False otherwise.

FilledSmallSquare You can test for classes of symbol names using string patterns with metacharacters such as *, as specified in Section A.3.13.

FilledSmallSquare See Section 2.7.12.

FilledSmallSquare See also: Names.

FilledSmallSquare New in Version 1.

Further Examples