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

Fixed issue with empty delimiter / separator / qualifier / escape charac... #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DavidRip
Copy link

Had an issue while trying to implement an empty delimiter (""). Please see my fix below.

@jprichardson
Copy link
Owner

Please include a test that demonstrates the error before your fix. The test should pass after your fix is applied. Thanks.

@ghost
Copy link

ghost commented Feb 27, 2016

Not a bug, an empty string is a truthy value. By changing it to the proposed changes you lose the implicit method contract. There shouldn't be any cases where an empty delimiter would be needed, but if it is needed, it should follow the method contract and return a string delimited by "".

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

Successfully merging this pull request may close these issues.

2 participants