Hi,
I am creating a seating plan generator for my computing coursework and need to separate a string into parts:
"Barn, Sam",10,AG,M,07.08.97
"Smith, Trevor James",10,GB,M,25.03.97
"Paddington, Kieran Simon",10,AG,M,10.09.96
"Benton, Rebecca",10,AT,M,31.10.96
It will be read in as ClassCodeString.
I need each of their names, Gender (M or F) and the last 6 digits(DOB).
The user will put in different students each time so the positions of the names, gender and DOB will change, but the symbols separating them will remain the same.
Any help would be greatly appreciated