public class StringUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
join(Collection collection,
Character separator)
Join a collection of Object with a given character as a separator
|
static String |
join(Object[] array,
char separator)
Join an array of Object with a given character as a separator
|
public static String join(Collection collection, Character separator)
collection
- collection to joinseparator
- char to separate valuesCopyright © 2012-2013. All Rights Reserved.