Java tutorial
//package com.java2s; import android.text.TextUtils; public class Main { /** * Joins an array of objects with a separator into a String * * @param separator the separator * @param args the args * @return the joined string */ public static String join(CharSequence separator, Object... args) { return TextUtils.join(separator, args); } }