I'm using this script
var csv = require('csv');
// node samples/string.js
csv()
.from.string(
'55.90540000776531, 12.159800000637293, "C", 400, "something", "OK", "Test, text", "test@ttt.com"',
{comment: '#'} )
.to.array( function(data){
console.log(data)
} );
And have an output:
[ [ '55.90540000776531',
' 12.159800000637293',
' "C"',
' 400',
' "something"',
' "OK"',
' "Test',
' text"',
' "test@ttt.com"' ] ]
' "Test', ' text"', is one value and souldn't be spitted.
I'm using this script
And have an output:
' "Test', ' text"', is one value and souldn't be spitted.