String [] result = yourString.split("-"); if (result.length != 2) throw new IllegalArgumentException( ...
確定! 回上一頁