MathGroup Archive 2000

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

Search the Archive

Re: How can I combinate two strings into one?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg25903] Re: How can I combinate two strings into one?
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 7 Nov 2000 23:04:53 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <8u8ebp$7em@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,


liwen liwen wrote:
> 
> Dear friends:
>              I want to transform the symbol of math to
> a string of "math" ,

?ToString

"ToString[expr] gives a string corresponding to the printed form of expr
in \
OutputForm. ToString[expr, form] gives the string corresponding to
output in \
the specified form."

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",

?StringJoin

"s1" <> "s2" <> ... , StringJoin["s1", "s2", ... ] or \
StringJoin[{"s1", "s2", ... }] yields a string consisting of a \
concatenation of the si.

Regards
  Jens


  • Prev by Date: Re: Incorrect plotting of Lissajous-figures
  • Next by Date: strange behaviour of Export["",,JPEG]
  • Previous by thread: Re: How can I combinate two strings into one?
  • Next by thread: Re: How can I combinate two strings into one?