日期:2014-05-20 浏览次数:20707 次
public class Test{ public static void main(String[] args){ String[] s1="+12-3/5x+16/25".split("(?<=.+)(?=[+-].)"); for(String x:s1) System.out.println(x); } }