标签:
1.切分字符串为数组:
if (StringUtils.indexOf(activities, "_") != -1) 首先判断activites是否不为null
{
String[] temps = activities.split("_");
activities = temps[0];
sourceId = temps[1];
}
标签:
原文地址:http://www.cnblogs.com/yiyongyao/p/4576582.html