code: public static String arrayJoin(List<String> arr, String separator) {
  		return (arr == null || separator == null) ? "" : StringUtils.join(arr, separator);
  	}
docs: Joins a list of strings to String using a separator.
  @param arr a list of strings
  @param separator a separator string
  @return a string