3 ms·
If there is exactly one field with the “may contain spaces” problem there’s a better solution: parse the line forwards for the fields up to that one, parse the
by YesThatTom2 4y ago
If there is exactly one field with the “may contain spaces” problem there’s a better solution: parse the line forwards for the fields up to that one, parse the line backwards for the remaining.
- jwilk 4y agoHow is that better than looking for the last ")" character? Besides, it wouldn't work, because you don't know in advance how many fields are there.