java拆分字符串,拆分.分隔的字符串时需要转义 String[] split = "61.54.231.245".split("\\."); 转载于:https://www.cnblogs.com/cherryhimi/p/4080427.html