I have a file which has contents of the form
10533 "MENDOZAT " 115.0000 : 1 1.00000
Now I want to separate the words and get it as a list. like
{10533,"MENDOZAT ",115.0000,:,1,1.0000}
My code is
x = ReadList[filename,Word,RecordLists->True,WordSeparators->{" ","\t"}]
But I am getting the result as
{10533,"MENDOZAT, ",115.0000,:,1,1.0000}
As you can see the results are different ("MENDOZAT " in the first one which is one word, "MENDOZAT, ", which are two words). I tried to include ""
in the word separators but getting an error.
Is there any way I can seperate them?
Import[filename, "Table"]
? $\endgroup$ – MikeLimaOscar Dec 7 '15 at 15:23