i thought Clover just need to read the start of a quote to the quote that is right before the delimiter and treat the string read as input data, right?
Hello,
only different type of quote can be embedded into field value (double quote can be embedded in single quoted string and vice versa) in other cases value is regarded as imparseable.
The work around is to set quotedStrings attribute to false and strip the quotes in Reformat.
your suggestions would all be good if there is a strict format for the data…
for my case, setting individual field delimiter would not work if the data i am getting can have these possibilities:
1. for numeric fields, they can be quoted or unquoted… e.g “200” or 200…
2. for string fields, they might contain a embedded quotes or embedded comma (which is also my field delimiter)… e.g “abc"def” or “abc’def” or “abcdef” or “abc,def”
is my only option read the each record as 1 big field and parse it myself??
Hi,
we talked about it in our development team and conceded, that there couldn’t be universal parser for such data.
If you don’t have strict format, you have to parse it yourself