Java tutorial
//package com.java2s; public class Main { public static String arrayToString(String[] array) { StringBuffer strBuffer = new StringBuffer(); for (int i = 0; i < array.length; i++) { if (i == 0) { strBuffer.append(array[i]); } else { strBuffer.append(";" + array[i]); } } return strBuffer.toString(); } }