I have a text file with a few rows of data,
every column represent a type of data, how do i read from the
text file and put them into the respective array.
The columns are seperated by spaces, eg;
item cost Qty
shoe $10.00 3
shirt $5.00 7
Printable View
I have a text file with a few rows of data,
every column represent a type of data, how do i read from the
text file and put them into the respective array.
The columns are seperated by spaces, eg;
item cost Qty
shoe $10.00 3
shirt $5.00 7
you could seperate them with commas item,cost,qty
then when you input it
input #1, item$, cost$, qty$
But the data comes in the form of spaces,
how coould i convert it to CSV??