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

Documentation / Mathematica / Built-in Functions / Programming / Scoping /

Names

FilledSmallSquare Names["string"] gives a list of the names of symbols which match the string.

FilledSmallSquare Names["string", SpellingCorrection->True] includes names which match after spelling correction.

FilledSmallSquare Names["string"] gives the same list of names as ?string.

FilledSmallSquare Names returns a list of strings corresponding to the names of symbols.

FilledSmallSquare The string can be a string pattern, with metacharacters such as * and @, as described in Section A.3.13.

FilledSmallSquare Names["context`*"] lists all symbols in the specified context.

FilledSmallSquare With SpellingCorrection -> True, Names includes names which differ in a small fraction of their characters from those specifically requested.

FilledSmallSquare With IgnoreCase -> True or SpellingCorrection -> True, Names treats lower- and upper-case letters as equivalent when matching names.

FilledSmallSquare Names[ ] lists all names in all contexts.

FilledSmallSquare See Section 2.7.12.

FilledSmallSquare See also: Information, Contexts, Unique, ValueQ, FileNames, NameQ.

FilledSmallSquare New in Version 1.

Further Examples