MathGroup Archive 2013

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

Search the Archive

Re: Re: a trivial task?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131120] Re: [mg131111] Re: a trivial task?
  • From: Francisco Gutierrez <fgutiers2002 at yahoo.com>
  • Date: Thu, 13 Jun 2013 02:35:55 -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

No, probably when I sent the message the lines got bungled up. In effect, what I want is the expression you put in your message:
 
 
I do not
understand
this
 
 
 
separated by lines (hope that this time the lines do appear separated).
Thanks
Fg

--- On Wed, 6/12/13, Murray Eisenberg <murray at math.umass.edu> wrote:


From: Murray Eisenberg <murray at math.umass.edu>
Subject: [mg131120] [mg131111] Re: a trivial task?
To: mathgroup at smc.vnet.net
Date: Wednesday, June 12, 2013, 4:37 AM


What you say you want is inconsistent with the example you provide. If "each part of exp is separated by a [new]line, then in the example your exported file should be:

I do not
understand
this

Or did you mean to say that "each part of exp is NOT separated by a [new]line"??

On Jun 11, 2013, at 2:28 AM, 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
>

---
Murray Eisenberg                             murray at math.umass.edu
Mathematics & Statistics Dept.     
Lederle Graduate Research Tower            phone 413 549-1020 (H)
University of Massachusetts                        
       413 545-2838 (W)
710 North Pleasant Street                        
 fax   413 545-1801
Amherst, MA 01003-9305






  • Prev by Date: problem with ndsolve using interpolated functions
  • Next by Date: Re: problems with NDSolve
  • Previous by thread: Re: a trivial task?
  • Next by thread: Re: a trivial task?