Re: getting the name of a symbol
- To: mathgroup at smc.vnet.net
- Subject: [mg15469] Re: getting the name of a symbol
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Mon, 18 Jan 1999 04:22:09 -0500
- Organization: Universitaet Leipzig
- References: <77jjc1$2lf@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Andrew, f[s_Symbol]:=ToString[s] will solve your problem. Hope that helps Jens Andrew Watson wrote: > > Dear Matherati, > ---- snip --- > For example, if called as > > f[qxyz] > > I want to get the string "qxyz". I have looked at HoldForm and > SymbolName but nothing yet discovered seems to do the trick. > > Regards, > > Andrew B. Watson