Javaで文字列を「.(ドット)」でsplitする - Qiita

久しぶりにJavaを書いていて.で文字列を区切ろうとしたら軽くハマった。Pythonならこんな感じ。hoge = '172.0.0.1'fuga = hoge.split('.') # => …