You can look at using a joiner: http://guava-libraries.googlecode.com/svn/tags/release03/javadoc/com/google/common/base/Joiner.html, which will join this iterable of string