This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / New in Version 3.0 / Programming  /
SymbolName

  • SymbolName[ symbol ] gives the name of the specified symbol.
  • Example: SymbolName[x].
  • SymbolName evaluates its input.
  • SymbolName always returns a string.
  • See the Mathematica book: Section 2.6.12.
  • See also: ToString, Symbol.