Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #14816
| From | Nigel King <nigel.king@cambiumnetworks.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: a trivial task? |
| Date | 2013-06-12 09:24 +0000 |
| Message-ID | <kp9eoa$2sk$1@smc.vnet.net> (permalink) |
| References | <20130611062851.5976B6A22@smc.vnet.net> |
| Organization | Time-Warner Telecom |
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@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
>
>
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: a trivial task? Nigel King <nigel.king@cambiumnetworks.com> - 2013-06-12 09:24 +0000
csiph-web