Greets all! This is my first post here, so bear with me please, ha ha.
Well, I am attempting to write a program in which a user can type in a phrase, and depending on the phrase, gets an automated response.
i.e. "I like java." Then the program searches a text files contains keywords, one being java.
Now, I can easily read a file thru BufferedReader or Scanner, but my problem is getting a command to search the keyword in the text file.
Any comments or suggestions would be greatly appreciated.
Thanks all!
Well, I am attempting to write a program in which a user can type in a phrase, and depending on the phrase, gets an automated response.
i.e. "I like java." Then the program searches a text files contains keywords, one being java.
Now, I can easily read a file thru BufferedReader or Scanner, but my problem is getting a command to search the keyword in the text file.
Any comments or suggestions would be greatly appreciated.
Thanks all!
