@Test
public void testSplit(){
//按空格拆分
String str = "java ee php c#";
String[] strArr = str.split("\s");
System.out.println(Arrays.toString(strArr));
//按+、-、=符号拆分
String line = "100+200+300-50=100";
strArr = line.split("[\+\-=]");
System.out.println(Arrays.toString(strArr));
}