Here's what I've been running and it has been working fine for just two documents:
String[] rawtext1 = loadStrings(url1);
String[] rawtext2 = loadStrings(url2);
// join the big arrays into one long string
String everything1 = join(rawtext1, " ");
String everything2 = join(rawtext2, " ");
String everything = everything1 + everything2;
// split the array based on the delimiters
manipulatableText = splitTokens(everything, delimiters);
However, I'd like to be able to just put .txt files into that url directory and have the program automatically grab all of them and add them to the 'manipulatableText' variable. I've been messing with the tree/recursion examples in Ch. 7 of Ben Fry's "Visualizing Data", but it seems like they are overkill for this when all I really want is to grab the names of the files in a folder and then use them to grab the associated files and make a big string that I can parse. Any help would be greatly appreciated! Thanks!
1