NewsId":"94f52614-8764-46d7-a5fe-d0da1fe878ed","NewsTitle":"大型公选课《可持续发展与未来》系列二之现代经济(绿色经济)开始网上选课报名","NewsContent":"<span style="font-size:12pt;font-family:宋体;color:black;line-height:150%;"><span>近日,伴随着我校郑时龄院士、童小华教授分别在四平、嘉定举行的精彩演讲,本学期我校着力打造的大型公共选修课程《可持续发展与未来》之系列一已经圆满结束。该课程也是我校</span>“<span>可持续发展辅修专业</span>”<span>的核心必修课程之一。</span></span> <p style="text-indent:21pt;"> </p>......... </span>
//将坏的json数据里面的双引号,改为中文的双引号(啥都行,只要不是双引号就行)
public String jsonStringConvert(String s){
char[] temp = s.toCharArray();
int n = temp.length;
for(int i =0;i<n;i++){
if(temp[i]==':'&&temp[i+1]=='"'){
for(int j =i+2;j<n;j++){
if(temp[j]=='"'){
if(temp[j+1]!=',' && temp[j+1]!='}'){
temp[j]='”';
}else if(temp[j+1]==',' || temp[j+1]=='}'){
break ;
}
}
}
}
}
return new String(temp);
}</span>
public String replaceBlank(String str) {
String dest = "";
if (str != null) {
Pattern p = Pattern.compile("\\s*|\t|\r|\n");
Matcher m = p.matcher(str);
dest = m.replaceAll("");
// Pattern p2 = Pattern.compile("\\s*\"");
// Matcher m2 = p2.matcher(dest);
// dest = m2.replaceAll("\'");
dest = dest.replace("=\"", "='");
p = Pattern.compile("\"\0*>");
m = p.matcher(dest);
dest = m.replaceAll(">'");
}
return dest;
}</span>
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有