How to split comma which ignores if the value is enclose to double quotes.
Data available:
3545,Albert,”Mathias Albert, Lars-Erik Cederman and Alexander Wendt
(eds)”,2010
Should be splitted in an array:
arr(0) = "3545"
arr(1) = "Mathias Albert, Lars-Erik Cederman and Alexander Wendt (eds)"
arr(2) = "2010"
While using the ADO Text Driver would probably be the best way in the long run, you can use a specific/custom RegExp for a quick & dirty ‘use just once’ script:
To cope with empty fields, the .Pattern needs some further fiddling.
If you prefer
Split(), something like this:should get you started.