Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!

joeF

Greenhorn
+ Follow
since Dec 15, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by joeF

Hi:
I am working on a problem that requires that I find a keyword within a text file. I have tokenized the input and I can easily locate the keyword as an exact token match but if the keyword appears within a token then it is missed.
example:
keyword = mary
File contains "mary had a little lamb". Keyword is found.
File contains "littlemary had a lamb". Keyword is not found.
Can someone please help me solve the problem?
Thanks.
19 years ago
Hi:
I know that I can break a string into tokens by using StringTokenizer
but how do I accomplish this task if I am using FileReader to read the file as characters?
(if possible please provide sample code)
Thanks.
19 years ago
It works after a second try.
???
Thanks.
19 years ago
Hi:
I trying to display on the screen text from multiple files. I am only able to display the first file. Can somone look at my code and tell me the reason and a possible solution?
Thanks.

[ December 18, 2002: Message edited by: Cindy Glass ]
19 years ago
Hi:
I changed my name in the profile.
Regards,
Joe
19 years ago
Hi:
I written an monoalphabet substitution encryption program. Can anyone point out mistakes or areas in which the code could be improved?
Thanks.

(edited by Cindy to change backslash to slash so that code tags would work)
[ December 16, 2002: Message edited by: Cindy Glass ]
[ December 16, 2002: Message edited by: joeF ]
19 years ago