Count number of lines in CSV with Javascript

后端 未结 4 639
离开以前
离开以前 2021-01-06 11:47

I\'m trying to think of a way to count the number of lines in a .csv file using Javascript, any useful tips or resources someone can direct me to?

4条回答
  •  Happy的楠姐
    2021-01-06 12:34

    If you are asking to count number of rows in a csv then you can use this example..

    http://purbayubudi.wordpress.com/2008/11/09/csv-parser-using-javascript/

    It takes the csv file and in a popup window display number of rows..

提交回复
热议问题