-
Notifications
You must be signed in to change notification settings - Fork 28
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
No flexible enough #13
Comments
Can you please give some sample input and output? |
I did change in CSVExport.swift
open func readFromPath(filePath: String) -> NSMutableDictionary
//let valuesArray = self.splitUsingDelimiter(row, separatedBy: "\"\(div)") as NSArray;
let valuesArray = self.splitUsingDelimiter(row, separatedBy: div) as NSArray;
func splitUsingDelimiter(_ string: String, separatedBy: String) -> [String]
return string.components(separatedBy: separatedBy) as [String];
//CORRECTION: FS 16.07.2018
// let t1 = string.components(separatedBy: separatedBy) as [String];
// return t1.filter{ !$0.isEmpty }
Currently I using the lib only for reading and the cvs file I am reading does not need to have the values in " ".
This is in the most cases not necessary and the most CVS files don’t have.
… Am 17.07.2018 um 13:09 schrieb Vignesh ***@***.*** ***@***.***>>:
Can you please give some sample input and output?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#13 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AhwELgqAd3gkQnx2RLiVRwO2g33-HSMlks5uHcXTgaJpZM4VQuT1>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why hard coded that values have to be in " "? Most have not.
The text was updated successfully, but these errors were encountered: