閱讀532 返回首頁    go 阿裏雲 go 技術社區[雲棲]


Split遇到“.”點注意點

String s = "225.255.255.255";
String[] ips = s.split("\\.");
System.out.println(ips.length);

最後更新:2017-04-02 06:52:19

  上一篇:go fieldset的樣式和使用
  下一篇:go 中國大部分城市地區的結構定義與按拚音排序