【发布时间】:2014-12-11 22:20:41
【问题描述】:
我想逐行读取数据,无论在哪里找到双引号,我都想用空格替换换行符,直到遇到第二个双引号 喜欢
090033ec82b13639,CPDM Initiated,Logistical,"There corrected.",Gul Y Serbest,Urology
090033ec82ae0c07,Initiated,NA,"To local testing
Rohit 3 to 4.",Julienne B Orr,Oncology
090033ec82b35fd0,Externally Initiated,NA,regulatory agency requests,Kenneth A Lord,Oncology
就像上面的数据第二行一样,它在第三行找到双引号(打开)和关闭双引号,所以我们需要将这些行合并为一个空格,如下所示:
090033ec82b13639,CPDM Initiated,Logistical,"There corrected.",Gul Y Serbest,Urology
090033ec82ae0c07,Initiated,NA,"To local testing Rohit 3 to 4.",Julienne B Orr,Oncology
090033ec82b35fd0,Externally Initiated,NA,regulatory agency requests,Kenneth A Lord,Oncology
【问题讨论】: