MCPcopy Index your code
hub / github.com/OpenDRG/DRG_Java / replace_csv

Method replace_csv

drg_group/guangxi_2022/GroupProxy.java:195–204  ·  view source on GitHub ↗
(String csv)

Source from the content-addressed store, hash-verified

193 return null;
194 }
195 private static String replace_csv(String csv){
196 Matcher m=Pattern.compile("\"(.*?)\"").matcher(csv);
197 String s;
198 while(m.find())
199 {
200 s=m.group();
201 csv=csv.replace(s, s.replace(",", "|"));
202 }
203 return csv.replace("\"", "");
204 }
205 public static Map<String,String> read_dataFile(String folder,String dataFile){
206 return read_dataFile(folder,dataFile,false);
207 }

Callers 2

group_recordMethod · 0.95
read_csvMethod · 0.95

Calls 1

groupMethod · 0.45

Tested by

no test coverage detected