-1

Example:

enter image description here

How can I get the first cell value?

Prabhu
  • 117
  • 1
  • 3
  • 11

1 Answers1

0

If the cell with the internal comma isn't enclosed in quotes, it has been improperly written, and you can't read the file properly at all.

You don't really need a CSV library for this: it 's easy enough to write a CSV reader, but you have to know the convention. Any cell can be enclosed in quotes, which take priority over any internal commas, and which should be removed.

user207421
  • 305,947
  • 44
  • 307
  • 483