What is the best way to split a string based on , but if any string is in double quotes then ignore that ,
For eg:
Test, string, “ for, splitting”, in, scala
It must return for, splitting together as one string
What is the best way to split a string based on , but if any string is in double quotes then ignore that ,
For eg:
Test, string, “ for, splitting”, in, scala
It must return for, splitting together as one string
Use a proper csv parser library like:
I want to emphatically second the reply by @BalmungSan .
Here are my many hours of personal background learning this harsh lesson posted as StackOverflow answers:
Thanks I used kantan lib
Thanks for suggestion.
I used kantan lib.