Displaying 1 result from an estimated 1 matches for "record_start".
2012 Jun 25
1
Replacing text with a carriage return
I have a comma separated data file with no carriage returns and what
I'd like to do is
1. read the data as a block text
2. search for the string that starts each record "record_start", and
replace this with a carriage return. Replace will do, or just add a
carriage return before it. The string is the same for each record, but
it is enclosed in double quote marks in the file.
3. Write the results out as a csv file.
Let's say file.text looked like this:
"reco...