Reading, Modifying, and Writing a file with data with quotation marks
- To: mathgroup at smc.vnet.net
- Subject: [mg29406] Reading, Modifying, and Writing a file with data with quotation marks
- From: "JOHN C ERB" <JOHN_C_ERB at prodigy.net>
- Date: Mon, 18 Jun 2001 03:39:07 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Greetings, I would like to modify a data file on disk which has the data enclosed in quotation marks. A much-shortened example would be as follows: File as stored on disk "big","left","15","21.87","","0","smy" "82","back","up","24","50","0","984" "44","","up","symm" I would like to read this file into Mathematica, then (for example), place two "0"'s after "21.87" on the first line, place three "0"'s after "50" on the second line, then store the result back onto a file on disk giving "big","left","15","21.87","0","0","","0","smy" "82","back","up","24","50","0","0","0","0","984" "44","","up","symm" My stumbling block is mainly the quotation marks. Thank you, John C. Erb email: John_C_Erb at prodigy.net
- Follow-Ups:
- Re: Reading, Modifying,and Writing a file with data with quotation marks
- From: Tomas Garza <tgarza01@prodigy.net.mx>
- Re: Reading, Modifying,and Writing a file with data with quotation marks