I'm looking to find an efficient way of writing information to a file, but be written in a certain way. Suppose I have a string that goes something like this:
%string data1_data2_data3_data4@data1_data2_data3_data4@data1_data2_data3_data4@data1 .....
With '@' being the delimiter, I'm looking to write the sub strings to file on their own lines so it'd look like this:
data1_data2_data3_data4
data1_data2_data3_data4
data1_data2_data3_data4
data1_data2_data3_data4
..with each entry of 'data' being different obviously. Now I suppose I could write one line at a time, but is there a certain DOS command that will automatically put a carriage return at the end of each specified delimiter so there's only one 'blip' of the DOS cmd window? It needs to be a file, and must be one line per sub string.
Thanks for any input all
