I'm trying to arrange names alphabetically from a textfile. Inside my textfile, it's like : "John", "Edward", "Peaches", "Anna"... etc.(It has thousand more names, all with quotations, separated by comma and I think it's not typed line by line... but using only one line). How can I read each name separately?
this code, it works if the textfile contains names seperated by lines and without commas and quotations. I do not know with the case I've stated above. Help? Thank you!