Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

splitting a TSV but .csv file. java

just a quick question,

have you experienced null and new line values while splitting a whole line with input(tab delimited) in a csv file???

String[] val = param.split("\\t", -1);

i'm using openCSV library.

please enlighten me, when the format of a file is csv,by default it should be empty string if no value were splitted right? or does it really contain null values?

Comments