MCPcopy Create free account
hub / github.com/OpenDRG/DRG_Java / replace_csv

Method replace_csv

drg_group/changchun_2022/GroupProxy.java:239–248  ·  view source on GitHub ↗
(String csv)

Source from the content-addressed store, hash-verified

237 return null;
238 }
239 private static String replace_csv(String csv){
240 Matcher m=Pattern.compile("\"(.*?)\"").matcher(csv);
241 String s;
242 while(m.find())
243 {
244 s=m.group();
245 csv=csv.replace(s, s.replace(",", "|"));
246 }
247 return csv.replace("\"", "");
248 }
249}

Callers 2

group_recordMethod · 0.95
read_csvMethod · 0.95

Calls 1

groupMethod · 0.45

Tested by

no test coverage detected