MathGroup Archive 2000

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

Search the Archive

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

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

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]

Thanks,

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]