I have this String array in which is made up of string representing a student id, first name, last name, email,and grades. My question is: Is there away I can split each entry in this array and be able to calculate the average grade of student in this sample array entry. I would appreciate if anyone can offer some solution on how to achieve that in this array.
String[] students = {"1,John,Smith, John1010@fakemail.com ,20,88,79,59",
"2,Suzan,Erickson, Sue9999@fakemail.com ,19,91,72,85",
"3,Jack,Napoli, Jack789@fakemail.com,19,85,84,87",
"4,Erin,Black, Aaron888@fakemail.com,22,91,98,82"};