Envoy2064
asked on
How to split columns with exceptions
Hi,
Can anyone help me with this problem:
How can I split CSV file in Java (into separate columns), using built-in regex functions (for efficiency), but ignore everything in double quotes? So:
1,2,3,"hello, world!"
will be treated as 4 columns, not 5.
Can anyone help me with this problem:
How can I split CSV file in Java (into separate columns), using built-in regex functions (for efficiency), but ignore everything in double quotes? So:
1,2,3,"hello, world!"
will be treated as 4 columns, not 5.
ASKER
How about with empty columns?
ASKER
Please note the emphasis on efficient algorithms that uses as much system-optimized code as possible.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the question and the points.
Open in new window