Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
nly
1y ago
0 comments
Share
Last field rather than last record. The first row will give you column count.
0 comments
default
newest
oldest
masfuerte
1y ago
The column count doesn't help because you don't know where the last record starts because you don't know whether you're in a string or not. Unless you scan the entire file from the beginning, which defeats the object.
nly
OP
1y ago
Unless newlines in strings are escaped
j
/
k
navigate · click thread line to collapse