I want to Export
a list of lists in Table
format with \t
or blank
as delimiter. Unfortunatelly Mathematica 4.0 does not have the FieldSeparator
option aviable.
Is there still a way to program this without the FieldSeparator command?
Example:
list=Table[Random[Real,90],{2}]&/@Range[6];
I have searched this site and adapted an answer to a similar question:
Export["list.txt",({list[[All,1]],90-list[[All,2]]}//Transpose)/.x_?NumberQ:>ToString[NumberForm[x,NumberPoint->","]],"Table"];
Additionally to changing the NumberPoint
I want
the entries to have only a single delimiter character between the columns list[[All,1]]
and 90-list[[All,2]]
in every line, i.e. a single spacebar or tab, to be able to import the data with another program.
The standard Export
command however uses 4 times blank after padding every entry with blanks, which is an issue.
Thanks in advance and sorry for my lack of knowledge in formatting my questions properly!
Write
to do what you want. $\endgroup$