Java字符串分割函数split中以·点分割的问题
问题描述:// 把字符串"192.168.1.1"按照小圆点进行分割,分割成"192","168","1","1"四个字符串。String preStr = "192.168.1.1"; String[] string = preStr.split(".&q