Names
✖
Names
Details and Options

- Names["string"] gives the same list of names as ?string.
- Names returns a list of strings corresponding to the names of symbols.
- The pattern patt can be given as a string with metacharacters, as StringExpression[…] or as RegularExpression["regex"].
- The string can contain the following metacharacters:
-
* match zero or more characters @ match one or more characters, but not uppercase letters - Names["context`*"] lists all symbols in the specified context.
- With SpellingCorrection->True, Names includes names that differ in a small fraction of their characters from those specifically requested.
- With IgnoreCase->True or SpellingCorrection->True, Names treats lowercase and uppercase letters as equivalent when matching names.
- Names includes any names with a matching context alias by default. With ResolveContextAliasesFalse, only non-aliased matching names will be returned. »
- Names[] lists all names in all contexts.
Examples
open allclose allBasic Examples (2)Summary of the most common use cases
Scope (3)Survey of the scope of standard use cases
Find all 2-character system functions using StringExpression:
In[1]:=1

✖
https://wolfram.com/xid/0givub-xm63qm
Out[1]=1

Find all 3-character system functions using RegularExpression:
In[1]:=1

✖
https://wolfram.com/xid/0givub-n0vr9e
Out[1]=1

Get all symbols that start with $ or with Plot:
In[1]:=1

✖
https://wolfram.com/xid/0givub-pysdlv

Options (3)Common values & functionality for each option
IgnoreCase (1)
ResolveContextAliases (1)
Names resolves context aliases by default:
In[1]:=1

✖
https://wolfram.com/xid/0givub-ljn3oy
Out[1]=1

Use the ResolveContextAliases option to prevent alias resolution:
In[2]:=2

✖
https://wolfram.com/xid/0givub-iz9cwc
Out[2]=2

Wolfram Research (1988), Names, Wolfram Language function, https://reference.wolfram.com/language/ref/Names.html (updated 2021).
✖
Wolfram Research (1988), Names, Wolfram Language function, https://reference.wolfram.com/language/ref/Names.html (updated 2021).
Text
Wolfram Research (1988), Names, Wolfram Language function, https://reference.wolfram.com/language/ref/Names.html (updated 2021).
✖
Wolfram Research (1988), Names, Wolfram Language function, https://reference.wolfram.com/language/ref/Names.html (updated 2021).
CMS
Wolfram Language. 1988. "Names." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/Names.html.
✖
Wolfram Language. 1988. "Names." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/Names.html.
APA
Wolfram Language. (1988). Names. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Names.html
✖
Wolfram Language. (1988). Names. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Names.html
BibTeX
✖
@misc{reference.wolfram_2025_names, author="Wolfram Research", title="{Names}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/Names.html}", note=[Accessed: 24-March-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2025_names, organization={Wolfram Research}, title={Names}, year={2021}, url={https://reference.wolfram.com/language/ref/Names.html}, note=[Accessed: 24-March-2025
]}