Using delimiter when reading a file
问题 I have little experience using delimiters and i need to read a text file that stores several objects whose data is stored in single lines separate by commas (","). The seperate strings are then used to create a new object which is added to an arraylist. Amadeus,Drama,160 Mins.,1984,14.83 As Good As It Gets,Drama,139 Mins.,1998,11.3 Batman,Action,126 Mins.,1989,10.15 Billy Elliot,Drama,111 Mins.,2001,10.23 Blade Runner,Science Fiction,117 Mins.,1982,11.98 Shadowlands,Drama,133 Mins.,1993,9.89