Thanks! I added a while loop for while the file has another line. Then in that is an if statement where if the string is the next string in the file, it does what it's supposed to. Otherwise it goes...
Type: Posts; User: sp11k3t3ht3rd
Thanks! I added a while loop for while the file has another line. Then in that is an if statement where if the string is the next string in the file, it does what it's supposed to. Otherwise it goes...
I need a scanner to go through a file an see if it contains a certain string. Is there a method that I can use or am I out of luck? I essentially need a contains method but for the scanner and after...