This seems to work for me so far:
private static void TitleCheck(String n){
boolean found = false;
String title = null;
int pos;
pos = n.indexOf(':');
if(pos != -1){ ...
Type: Posts; User: Twon23
This seems to work for me so far:
private static void TitleCheck(String n){
boolean found = false;
String title = null;
int pos;
pos = n.indexOf(':');
if(pos != -1){ ...
What I'm trying to do is read through a text file and look for titles then add them to an array just the once. The titles are repeated multiple times in the text file, so I'm trying to just add them...
Hi all.
I'm wanting to modify an array while it is In use but this throws the exception in the title above. So what is the best way around this? Cloning the array? If I clone the array what is the...