can someone please tell me how to read in a record that has variable length fields. The fields are delimited by commas.
The fields to be read are:
· Student Number (5 digits)
· Student Name (25 characters max.)
· Curriculum Code (3 characters)
· 8 Class Work Grades (2 characters max., may be : a+, a, a-, b+, b, b-, c+... f)
· 4 Test Grades (3 digits max.)
· Final Exam (3 characters max., [not a mistake!!])
Any Help would be greatly appreciated.