PHPCsvParser
PHPCsvParser copied to clipboard
Multiline string without text in new line
Hi!
If I try to process a multiline string which doesn't have text after the line break, the strings content gets lost instead of being parsed correctly.
CSV example
"Column 1"|"Column 2
"|"Column 3"
Expected output
array(
0 => array(
0 => 'Column 1',
1 => 'Column 2
',
2 => 'Column 3'
)
Actual output
array(
0 => array(
0 => 'Column 1',
1 => '',
2 => 'Column 3'
)
)
Thank you very much!