Joiner joiner = Joiner.on("#|").skipNulls(); String test = joiner.join("1", "2", "3", "4"); System.out.println(test);
打印結果爲: 1#|2#|3#|4 ip