News for hackers. Stuff that matters.
Re:Today’s JavaScript, from an outsider’s perspective (2020) by aahortwwy on Friday May 27, 2022 @05:59AM (#31527773)
Download Python.

import csv

?

Re:Today’s JavaScript, from an outsider’s perspective (2020) by thepasswordis on Friday May 27, 2022 @07:13AM (#31528205)
Download python.

Data = open(“file.csv”, “r”)

For line in data.readlines(): Print(line.split”,”)

Re:Today’s JavaScript, from an outsider’s perspective (2020) by Verdex on Friday May 27, 2022 @09:51AM (#31529622)
Well...

Blah1, blah2, "blah3, blah4", blah5

Maybe using a library is a better route.

Re:Today’s JavaScript, from an outsider’s perspective (2020) by thepasswordis on Friday May 27, 2022 @10:21AM (#31529953)
Okay sure, but I have processed millions of lines of csv data using readlines and split.

Eventually yeah you’re going to run into something with characters you don’t like, but that’s just a teaching/learning moment!