admin管理员组文章数量:1391982
I'm trying to separate csv data using the delimiter ","
(comma). My data has various fields(Name,Age,Address,Amount). Some of the fields are inside double quotes("field value") like Address. When I give the delimiter as transformer.csv2xml.delimiter=","
my application looks for double quotes on every field, hence unable to pull the data effectively. Whereas if I give the delimiter transformer.csv2xml.delimiter=,
the application splits incorrectly the rows that have comma inside the data. Does anyone have any idea as to why it might be happening.
One example I can give of this is below:
Payment, PaymentType, Amount, Name, Address
ABC, Wire, "$226,206.35 ", John Doe, "123 RIVERRSIDE AVE BLDG 99, 1ST FLO JACKSONVILLE FL 12345"
本文标签: Not able to separate csv data using delimiterquotquot appropriatelyStack Overflow
版权声明:本文标题:Not able to separate csv data using delimiter-"," appropriately - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744744392a2622799.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论