jijo-paulose / csv-to-array

Automatically exported from code.google.com/p/csv-to-array
0 stars 0 forks source link

Add trim white space option #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The RFC4180 standard states

Spaces are considered part of a field and should not be ignored.

but looking through some of the other pseudo standards a few of them suggest 
that white space should only be preserved when fields are double-quote 
enclosed, this could easily be implemented through an optional Boolean switch 
as with the header removal switch.

The other side of the argument would be that it may introduce a performance 
hit, but as the user has the choice to use RFC4180 compliant data and set the 
switch to off, the argument is void.

Original issue reported on code.google.com by danielti...@gmail.com on 20 Apr 2013 at 12:48

GoogleCodeExporter commented 9 years ago
Have added trim option as of v2.0

Original comment by danielti...@gmail.com on 21 Apr 2013 at 6:36