RE: How can I combinate two strings into one?
- To: mathgroup at smc.vnet.net
- Subject: [mg25907] RE: [mg25896] How can I combinate two strings into one?
- From: "David Park" <djmp at earthlink.net>
- Date: Tue, 7 Nov 2000 23:04:55 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Liwen, SymbolName converts a symbol to a string, and Symbol converts a string to a symbol. StringJoin, <>, concatenates or joins two strings. So what you want is: SymbolName[math] <> SymbolName[first] David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ > -----Original Message----- > From: liwen liwen [mailto:gzgear at yahoo.com] To: mathgroup at smc.vnet.net > Dear friends: > I want to transform the symbol of math to > a string of "math" ,it can be done in > C++ easily .How can I do in Mathematica4 ? > Additional ,I want to combinate two strings of "math" > and "first" into one string :"mathfirst", > what should I do? > > Best Regards, > > Liwen > 11/6/2000 > My E-mail is: gzgear at yahoo.com