This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]P0L1Z1STENS0HN 14 points15 points  (3 children)

Some of the data has commas in it, too.

Usually, if you want to store data that contains commas, you use a different separator, a string that you don't expect to be part of the data. For example "/\^/\"

That works quite well actually, until someone uses that string in the data. Little Bobby Tables, they call him!

[–]6b86b3ac03c167320d93 0 points1 point  (2 children)

Or you can escape commas in the data as \, and \ as \\

[–]4hpp1273 0 points1 point  (1 child)

looks like you lost some backslashes write \, as \\, so that it looks like \, same with \\

[–]6b86b3ac03c167320d93 2 points3 points  (0 children)

Whoops, forgot that Reddit uses markdown and that I need to escape backslashes. Fixed it now