java截取字符串 String s ; s = s.substring(i,j); eg: String s = "string" s = s.substring(1,s.length()-1); 得到 s = “trin”