1.生效区域下发格式修改 2.日志总量日志查询时间修改
This commit is contained in:
@@ -503,4 +503,18 @@ public class StringUtils extends org.apache.commons.lang3.StringUtils {
|
||||
}
|
||||
return str;
|
||||
}
|
||||
|
||||
public static String revertStr(String str,String regex){
|
||||
String[] split = str.split(regex);
|
||||
String value = "";
|
||||
for (int i = split.length-1; i >= 0 ; i--) {
|
||||
if( i != 0) {
|
||||
value += split[i]+"/";
|
||||
}else {
|
||||
value += split[i];
|
||||
}
|
||||
|
||||
}
|
||||
return value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user