i have zipped csv data which i am unzipping with a go lambda function. The first column of my csv data has several infos like: ProjectNumber_Project_City_Country. For me the question now would be if there is some similar solution like with python to split these entries via the delimiter:
When parsing CSVs, it’s always good to rely on a library that knows how to deal with csv.
How do you know your delimiter won’t be present on the line as a simple member of the Project’s name, for instance ?
I recommend using the default csv package - encoding/csv - pkg.go.dev package.
Create a reader on your input, and use reader.Read() to get a record (that’ll be properly split).