Mathematica > Core Language > Tuning & Debugging > Symbol Handling > SymbolName >
Mathematica > Core Language > Package Development > Namespace Management > Symbol Handling > SymbolName >

SymbolName

SymbolName[symbol]
gives the name of the specified symbol.
The name of the symbol is the string :
The name of the symbol is the string :
In[1]:=
Click for copyable input
Out[1]//InputForm=
Symbol and SymbolName are inverses of each other:
Many functions of symbols also accept symbol names as arguments:
SymbolName always gives the short name, without any context:
ToString takes the settings of $Context and $ContextPath into account:
SymbolName evaluates its input:
New in 3
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF