DOCUMENTATION CENTER SEARCH
Mathematica
>
Symbol Handling
>
Built-in
Mathematica
Symbol
Contexts
Manipulating Symbols and Contexts by Name
Tutorials »
|
Information
Contexts
Unique
ValueQ
FileNames
NameQ
Remove
See Also »
|
Atomic Elements of Expressions
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 upper-case 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 lower- and upper-case 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
Atomic Elements of Expressions
Low-Level System Spelunking
Mathematica Session Information
Mathematica Sessions
Namespace Management
Package Development
Symbol Handling
Tuning & Debugging
New in 1 | Last modified in 6
© 2008 Wolfram Research, Inc.