Here you can find the source of intArrayToString(int[] itemsPerPagines)
public static String intArrayToString(int[] itemsPerPagines)
//package com.java2s; //License from project: GNU General Public License import java.util.Arrays; public class Main { public static String intArrayToString(int[] itemsPerPagines) { String str = Arrays.toString(itemsPerPagines); return str.substring(1, str.length() - 1).replace(" ", ""); }// ww w. java 2 s .c om }