I have a csv file with sample data like this
153,"Doe, John","","RBG","",10,"","","10/15/2017","Sunday","RESTDAY"," ",10,"","","","","","",0.00,0.00,0.00,0.00,0.00,0.00,0.00,0.00,"",0.00,0.00,""
When I split it using the split() function in javascript like this. csvdata.split(",")
it works well but I encountered a problem when the fullname is separated with comma like "Doe, John". Can anyone help me? Thanks in advance