Re: Using ReadList to read a string
- To: mathgroup at smc.vnet.net
- Subject: [mg84076] Re: Using ReadList to read a string
- From: nigol <dario.buttari at gmail.com>
- Date: Sun, 9 Dec 2007 06:35:42 -0500 (EST)
- References: <200711301023.FAA06237@smc.vnet.net> <fj36gg$h8d$1@smc.vnet.net>
Don, here is a way to import that data correctly in one pass with a single ReadList call: ReadList["EWZ2.TXT", {Number, Word, Word, Number, Number, Number, Number, Number}, WordSeparators -> {" \"", "\" ", " "}] This solution assumes that the EWZ2.TXT file is exactly as stated in your post (the data is space delimited and not tab delimited). Please let me know if this solution works on your system. Thanks, Dario