Skip to content

Instantly share code, notes, and snippets.

@memish
Created October 17, 2018 11:58
Show Gist options
  • Save memish/06543084cde7a2732c2dcbed0d4deb56 to your computer and use it in GitHub Desktop.
Save memish/06543084cde7a2732c2dcbed0d4deb56 to your computer and use it in GitHub Desktop.
String words = "apple bear cat dog";
String[] list = split(words, ' ');
// Writes the strings to a file, each on a separate line
saveStrings("nouns.txt", list);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment