Skip to content

Instantly share code, notes, and snippets.

@dtulig
Created October 11, 2011 03:00
Show Gist options
  • Save dtulig/1277164 to your computer and use it in GitHub Desktop.
Save dtulig/1277164 to your computer and use it in GitHub Desktop.
final String[] input = new String[] {"dave", "john", "dan", "matt"};
final String result = Joiner.on(",")
.join(input);
// "dave,john,dan,matt"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment