public static String arrayToDelimitedString(Object[] arr, String delim) {
		if (SpringObjectUtils.isEmpty(arr)) {
			return "";
		}
		if (arr.length == 1) {
			return SpringObjectUtils.nullSafeToString(arr[0]);
		}
		StringBuilder sb = new StringBuilder();
		for (int i = 0; i < arr.length; i++) {
			if (i > 0) {
				sb.append(delim);
			}
			sb.append(arr[i]);
		}
		return sb.toString();
	}