You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sven Neuhaus (JIRA)" <ji...@apache.org> on 2016/06/27 13:53:52 UTC
[jira] [Commented] (CSV-177) Support trimming leading and trailing
blanks
[ https://issues.apache.org/jira/browse/CSV-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15351033#comment-15351033 ]
Sven Neuhaus commented on CSV-177:
----------------------------------
I was looking for a feature to automatically trim whitespace from values in the CSV parser.
There appears to be duplicate funtionality: There's the option withTrim() that you implemented and there's withIgnoreSurroundingSpaces() that already existed before.
The documentation is unclear regarding the difference between these options. Do we really need them both?
From looking at the source it appears that withIgnoreSurroundingSpaces() only has an effect on the parser whereas withTrim() affects both the parser and the printer.
> Support trimming leading and trailing blanks
> --------------------------------------------
>
> Key: CSV-177
> URL: https://issues.apache.org/jira/browse/CSV-177
> Project: Commons CSV
> Issue Type: New Feature
> Components: Parser, Printer
> Affects Versions: 1.2
> Reporter: Gary Gregory
> Assignee: Gary Gregory
> Fix For: 1.3
>
>
> Support trimming leading and trailing blanks in the printer and parser.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)