PRODUCTS
Mathematica
Mathematica Home Edition
Mathematica for Students
Mathematica for the Classroom
grid
Mathematica
Wolfram Lightweight Grid Manager
web
Mathematica
Mathematica Player
(free download)
Mathematica Player Pro
Wolfram
Workbench
Mathematica
Applications
SOLUTIONS
Industry
Chemical Engineering
Image Processing
Mechanical Engineering
Petroleum Engineering
Environmental Sciences
Bioinformatics
Data Analysis and Mining
Financial Risk Management
Statistics
Software Engineering
More...
Education
Higher Education
Precollege Education
Students
Technology
Interactive Deployment
High-Performance and Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
FOR USERS
All User Resources
Product Registration
Technical Support
Customer Service
Developer Support
Does My Site Have a License?
Free Seminars
Learning Center
Training
Custom Group Seminars
Documentation & Examples
Tutorial Screencasts
Video Gallery
Demonstrations Project
Education Portal
Student Resources
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
Wolfram|Alpha
Demonstrations Project
Wolfram Blog
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Library Archive
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
Mathematica
>
Core Language
>
Tuning & Debugging
>
Symbol Handling
>
Mathematica
>
Core Language
>
Package Development
>
Namespace Management
>
Symbol Handling
>
Built-in
Mathematica
Symbol
Contexts
Manipulating Symbols and Contexts by Name
Tutorials »
|
Information
Contexts
Unique
ValueQ
FileNames
NameQ
Remove
See Also »
|
Low-Level System Spelunking
Mathematica Session Information
Mathematica Sessions
Namespace Management
Package Development
Symbol Handling
Tuning & Debugging
More About »
Names
Names
["
string
"]
gives a list of the names of symbols which match the string.
Names
[
patt
]
gives a list of names matching the arbitrary string pattern
patt
.
MORE INFORMATION
Names
["
string
"]
gives the same list of names as
?
string
.
Names
returns a list of strings corresponding to the names of symbols.
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 which 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
[]
lists all names in all contexts.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Get the names of symbols starting with
List
:
In[1]:=
Out[1]=
Get the names of all system symbols:
In[1]:=
Out[1]//Short=
The set of those that have the
Orderless
attribute:
In[2]:=
Out[2]=
SEE ALSO
Information
Contexts
Unique
ValueQ
FileNames
NameQ
Remove
TUTORIALS
Contexts
Manipulating Symbols and Contexts by Name
MORE ABOUT
Low-Level System Spelunking
Mathematica Session Information
Mathematica Sessions
Namespace Management
Package Development
Symbol Handling
Tuning & Debugging
New in 1 | Last modified in 6