Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: a trivial task?
Replies: 4   Last Post: Jun 13, 2013 2:33 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Bill Rowe

Posts: 1,637
Registered: 3/14/08
Re: a trivial task?
Posted: Jun 13, 2013 2:33 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 6/11/13 at 2:28 AM, fgutiers2002@yahoo.com (Francisco Gutierrez)
wrote:

>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

Export[filename,exp,"Table"]

will do what you want





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.