将字符串中的以某个字符间隔放到数组中

String  str="111,222";

String [] tem=str..split(",");

tem:   [111,222]

原文地址:https://www.cnblogs.com/2016-cxp/p/9312920.html