I have a text file in which I have to take line by line.
for each line I have to cut my string and put it in a table.
My separator is space.
Example of String:
22/03/2013 00h00 9940 10200 10260 10190 10030 10060 Example of result:
[22/03/2013 00h00, 9940, 10200, 10260, 10190, 10030, 10060] my problem is that in my file, my separator varies from one line to another
Example:
22/03/2013 00h00 9940 10200 10260 10190 10030 10060 22/03/2013 01h00 9970 9900 9970 9850 9830 9740 22/03/2013 02h00 9630 9750 10010 10100 10040 10010 How I could cut my string ?