wood burning stoves 2.0*
The moose likes Java in General and the fly likes String search algorithm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "String search algorithm" Watch "String search algorithm" New topic

String search algorithm

Madhumitha Baskaran
Ranch Hand

Joined: Feb 27, 2010
Posts: 66

I want to implement GREP. It is enough if I could find if the search string is available in the text. I am not able to understand Boyer-Moore algorithm. As it is the last minute for my project submission, I am not able to spend time understanding Boyer moore algorithm. Can you suggest some other easy algorithm? It will be better if it is quite efficient as well.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: String search algorithm
Similar Threads
Is indexOf() in String class expensive operation?
finding a String in an InputStream
Find duplicates in a collection
Doubt regarding indexof or regex
Occurence of given string in a large text file