I\'m confused a bit. I couldn\'t find the answer anywhere ;(
I\'ve got an String array:
String[] arr = [\"1\", \"2\", \"3\"];
then
For Spring based projects:
org.springframework.util.StringUtils.arrayToDelimitedString(Object[] arr, String delim)
For Apache Commons users, set of nice join methods:
org.apache.commons.lang.StringUtils.join(Object[] array, char separator)