Re: eliminate some characters inside a file
- To: mathgroup at smc.vnet.net
- Subject: [mg34733] Re: eliminate some characters inside a file
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 4 Jun 2002 03:41:43 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <adca4e$1lp$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi, say you file is named test.txt, Flatten[ImportString[#, "CSV"] & /@ ReadList["test.txt", String], 1] will work *without* writing extra files. Regards Jens "A.M." wrote: > > Hi everybody, > > this is my question: I´ve got a large numbers o files with the next > appearance: > > "12,56,12,14" > "13,56,25,36" > "14,58,465,7" > . > . > . > > and I need Mathemathica to eliminate " " and changes , by blank space to > obtain the next: > 12 56 12 14 > 13 56 25 36 > 14 58 465 7 > . > . > . > If anybody can help me I would be very pleased > > thanks