Skip to content

Instantly share code, notes, and snippets.

@yavuztas
Last active August 27, 2019 15:21
Show Gist options
  • Save yavuztas/017359dc372a3413d33ef3bc09a07fdf to your computer and use it in GitHub Desktop.
Save yavuztas/017359dc372a3413d33ef3bc09a07fdf to your computer and use it in GitHub Desktop.
Created with Copy to Gist
String[] array = new String[] {
"apple", "banana", "orange", "avocado", "mango"
};
String joined = UtilsForCollections.join(array, ", ", 3);
System.out.println(joined);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment