You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When data string contains separator symbol, writer (and reader) will split it in two different strings.
Example:
Separator: ","
Input: "one", "two", "str with, comma"
What we want to see in file: one,two,"str with, comma"
What we get: one,two,str with, comma
Solution: check if data string contains separator symbol. If yes, then we need to add double quotes at the begining and at the end of the date string.
The text was updated successfully, but these errors were encountered:
Based on this comment: http://stackoverflow.com/questions/22802491/create-csv-file-in-c-in-qt/30391988?noredirect=1#comment57510719_30391988
When data string contains separator symbol, writer (and reader) will split it in two different strings.
Example:
Separator: ","
Input: "one", "two", "str with, comma"
What we want to see in file: one,two,"str with, comma"
What we get: one,two,str with, comma
Solution: check if data string contains separator symbol. If yes, then we need to add double quotes at the begining and at the end of the date string.
The text was updated successfully, but these errors were encountered: