Java delimiter reader
- by newbieprogrammer
I have a colon-delimited text file containing grouped, related data. The People group contains people's names followed by their ages, separated by colons. How can I parse the text and group people according to their ages?
The structure is as follows:
Group.txt
Age:10:20:30:40:
Group:G1:10:G2:30:G3:20:G4:40:…