Hi Markus,

NeoCSVReader is not like most CSV readers ;-)

(NeoCSVReader on: '"COL1";"COL2";"COL3";"DESCRIPTION"
1;"A string";13;"This is a long 
description spanning multiple lines,
which is a challenge for most csv readers!"
2;"Another string";42;""' readStream) 
  separator: $; ; 
  upToEnd.

=> #(
     #('COL1' 'COL2' 'COL3' 'DESCRIPTION') 
     #('1' 'A string' '13' 'This is a long 
description spanning multiple lines,
which is a challenge for most csv readers!') 
     #('2' 'Another string' '42' nil))

HTH,

Sven

PS: There are many features, like #readHeader and #skipHeader, and a whole, 
optional, mechanism to directly create your own objects and convert fields to 
specific types (like parsing numbers or dates). 

On 21 Sep 2014, at 20:24, Markus Fritsche <mfrits...@reauktion.de> wrote:

> Hi, 
> 
> I am having a csv file looking like
> 
> "COL1";"COL2";"COL3";"DESCRIPTION"
> 1;"A string";13;"This is a long 
> description spanning multiple lines,
> which is a challenge for most csv readers!"
> 2;"Another string";42;""
> 
> (CRLF line endings)
> 
> Is there a combination of settings to NeoCSVReader that will allow to read 
> such a file?
> 
> Kind regards,
>  Markus
> 


Reply via email to