Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

ToString[Hold[a]] gives Hold[a]

  • To: mathgroup at
  • Subject: [mg21759] ToString[Hold[a]] gives Hold[a]
  • From: Bill Marks <bmarks at>
  • Date: Thu, 27 Jan 2000 22:56:40 -0500 (EST)
  • Sender: owner-wri-mathgroup at

How to convert to string a symbol that already has a value?

One way would be to find  a wrapper for which
ToString[Wrapper[a]]   ->  a

For example
a = 3;
ToString[Hold[a]] -> Hold[a]


Bill Marks

  • Prev by Date: Re: Saving
  • Next by Date: Improvements
  • Previous by thread: Re: save notebook without output
  • Next by thread: Re: ToString[Hold[a]] gives Hold[a]