java join string from stream code example Example: String joiner in streams java setOfTags.stream().collect(Collectors.joining(";"))