springUtils的replace的使用
String inString = "1-2-3-4-5-6---";
String oldPattern = "-";
String newPattern = ",";
// Simple replace
String s = org.springframework.util.StringUtils.replace(inString, oldPattern, newPattern);
System.out.println(s);