I have String ArrayList has some elements but I need to convert it to string each element is separated from other by - this is the arrayList
List<String> items = new ArrayList<String>();
items.add("a");
items.add("b");
items.add("c");
:
:
I need to get the string like this
"a-b-c-..."