Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+15 votes

I have been tasked with setting up the function within my team's program that will transfer the data from the client-provided CSV file, and I was wondering if anyone had some reliable resources for introducing myself to this topic!

asked in CSC305 Fall 2023 by (1 point)

1 Answer

+5 votes

You will want to use a library, rather than trying to parse the CSV itself, because dealing with quoted strings that contain commas in them is tricky to get right. (You can't just split the string once commas!)

The OpenCSV library is a solid choice:


answered by (508 points)