code: public static String join(final String delimiter, final Object... elements)
  	{
  		final StringBuilder sb = new StringBuilder();
  		for (final Object part : elements)
  		{
  			if (part == null)
  			{
  				continue;
  			}
  			if (sb.length() > 0)
  			{
  				sb.append(delimiter);
  			}
  			sb.append(part.toString());
  		}
  		return sb.toString();
  	}
docs: Joins all non-null elements of the given <code>elements</code> into one String.
  
  @param delimiter Inserted as separator between consecutive elements.
  @param elements  The elements to join.
  
  @return A long string containing all non-null elements.