Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: a trivial task?
Posted:
Jun 12, 2013 5:24 AM


Riffle seems to be what you are looking for...
exp = {"I do not", "understand", "this "}; Export[StringJoin[Riffle[exp, "\n"]],"exp.txt"]
Ulrich Am 11.06.2013 um 08:28 schrieb Francisco Gutierrez:
> > 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 > >



