MathGroup Archive 2013

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

Search the Archive

Re: a trivial task?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131108] Re: a trivial task?
  • From: Nigel King <nigel.king at cambiumnetworks.com>
  • Date: Wed, 12 Jun 2013 05:36:52 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net
  • References: <20130611062851.5976B6A22@smc.vnet.net>

One way is;
Apply[StringJoin[Riffle[exp,"\n"]]

---
Nigel King
Mob: +44 7917 803879
Work:+44 1364 655516


On 11 Jun 2013, at 07:30, "Francisco Gutierrez" <fgutiers2002 at yahoo.com> wrote:

>
> Friends:
>
> Suppose I have a string variable, say:exp={"I do not", "understand", this"}
> I want to export this variable to a text file, so that each part of exp is separated by a line (\n). Thus I want to get:I do notunderstandthis
>
> How can I achieve this? Thanks
>
> Francisco
>
>
>




  • References:
  • Prev by Date: Re: a trivial task?
  • Next by Date: Re: ListPlot3d and ListDensityPlot
  • Previous by thread: Re: a trivial task?
  • Next by thread: Re: a trivial task?