See Related .NET question
I'm looking for a quick and easy way to do exactly the opposite of split
so that it will cause
["a","b","c"] to become
Iterating through an array requires either adding a condition (if this is not the last element, add the seperator) or using substring to remove the last separator.
I'm sure there is a certified, efficient way to do it (Apache Commons?)
How do you prefer doing it in your projects?