I am writing a programme which needs to take text which is outputed form a machine using a serial port and the information then needs to be chopped up and sent into a database line by line. The line feed would probably be held in a buffer. How would I go about creating an array from the seperate elements of that string? ie:
A203 05/12/03 23:53:00 00:01:30 012345678 =
var[0] = A203
Var[1] = 05/12/03
var[2] = 23:53:00
var[3] = 00:01:30
var[4] = 012345678
A203 05/12/03 23:53:00 00:01:30 012345678 =
var[0] = A203
Var[1] = 05/12/03
var[2] = 23:53:00
var[3] = 00:01:30
var[4] = 012345678