Pre Java 8: Apache's commons lang is your friend here - it provides a join method very similar to the one you refer to in Ruby: StringUtils.join(java.lang.
確定! 回上一頁