Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration arguments for trimming content #43

Open
GhaTMA opened this issue Mar 8, 2019 · 1 comment
Open

Add configuration arguments for trimming content #43

GhaTMA opened this issue Mar 8, 2019 · 1 comment

Comments

@GhaTMA
Copy link

GhaTMA commented Mar 8, 2019

New Feature Request!

People tend to use tabs/whitespaces in CSV file to make them more readable. This makes a problem when the content cells are not delimited. Because those characters would be included as content which was not the initial intention of those users.
It would make sense to let the parser trim the content of leading and trailing tabs/whitespaces. Best way to do it IMHO is to provide an additional configuration argument for this purpose.

@xlson
Copy link
Owner

xlson commented Mar 25, 2019

I'm not actively developing GroovyCSV any more but if I get a PR for this functionality I will merge it and release a new version of the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants