List of utility methods to do Array to String Convert
String | intArraysToString(int[] arrays) int Arrays To String String result = ""; if (arrays != null && arrays.length > 0) { for (int value : arrays) { result += value + " "; result = result.substring(0, result.length() - 1); return result; ... |
String | stringArrayToString(String[] array) string Array To String if (array == null || array.length == 0) return ""; StringBuilder string = new StringBuilder(); for (String item : array) { string.append(item).append(','); return string.toString(); |
String | convertToString(long[] ids) convert To String StringBuilder str = new StringBuilder(""); if (ids != null && ids.length > 0) { for (long id : ids) { str.append(id).append(","); str.setCharAt(str.length() - 1, ' '); return str.toString(); ... |