Skip to content

Instantly share code, notes, and snippets.

@47deg
47deg / StringUtils.java
Created November 13, 2010 08:41
A simple utility for joining strings with a separator and ignoring null values
package com.fortysevendeg.util;
import java.util.Arrays;
public class StringUtils {
/**
*
* @param separator the separators
* @param parts the parts