Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.ektorp.util;

Author(s):
henrik lundgren
 
 public class Joiner {
 
 	public static String join(Iterable<StringsrcString separator) {
		for (String s : src) {
			sb.append(s);
			sb.append(separator);
		}
		return sb.length() > 0 ? sb.substring(0, sb.length() - separator.length()) : "";
	}
New to GrepCode? Check out our FAQ X