I have a textfile containing lines of text. Each line is entered into this file when a selection has been made on a menu on a HTML page.
I have written the code to insert the text into the textfile, however I wish that each entry in the file should be unique.
ie textfile contains
I want to check the text to be inserted into the textfile in my JAva Program before it is entered so that it has not already appreared before.