bigbalbossa
Programmer
What are my options for creating a CSV file using the two example flat files below? I understand how to loop through and read the files, but not sure how to put the data together.
File1:
"Count"="779022"
"Data Mart"="Sprint"
"Version"="73"
"Username"="stedem"
"Password"="stedem"
"Level Key"="PROFILE_ID"
File2:
"Count"="12345"
"Data Mart"="Dell"
"Version"="23"
"Username"="delmet"
"Password"="delmet"
"Level Key"="PROFILE_ID"
Output should look like:
779022, Sprint, 73, stedem, stedem, PROFILE_ID
12345, Dell, 23, delmet, delmet, PROFILE_ID
File1:
"Count"="779022"
"Data Mart"="Sprint"
"Version"="73"
"Username"="stedem"
"Password"="stedem"
"Level Key"="PROFILE_ID"
File2:
"Count"="12345"
"Data Mart"="Dell"
"Version"="23"
"Username"="delmet"
"Password"="delmet"
"Level Key"="PROFILE_ID"
Output should look like:
779022, Sprint, 73, stedem, stedem, PROFILE_ID
12345, Dell, 23, delmet, delmet, PROFILE_ID