Here you can find the source of removeArrayMarkerFromCollectionToString(Collection
public static final String removeArrayMarkerFromCollectionToString(Collection<String> col)
//package com.java2s; //License from project: Open Source License import java.util.Collection; public class Main { public static final String removeArrayMarkerFromCollectionToString(Collection<String> col) { return col.toString().replaceAll("\\[", "").replaceAll("\\]", ""); }//from www . j a v a 2 s . c o m }