aspose file tools*
The moose likes Java in General and the fly likes best string matching algo...? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "best string matching algo...?" Watch "best string matching algo...?" New topic
Author

best string matching algo...?

kasun chathuranga
Greenhorn

Joined: Apr 27, 2006
Posts: 22
What is the best string matching algorithm in java?
kasun chathuranga
Greenhorn

Joined: Apr 27, 2006
Posts: 22
Originally posted by kasun chathuranga:
What is the best string matching algorithm in java?


better to give a sample code...

Thank You !
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42600
    
  65
There is rarely an absolute "best" for anything. This may help you select one.


Ping & DNS - my free Android networking tools app
kasun chathuranga
Greenhorn

Joined: Apr 27, 2006
Posts: 22
I have seen that page before. But the problem is I don't know much about C language. Aren't there any examples in JAVA? I can't use the C codes in JAVA directly, can I?

Thank You!
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
What do you need to do?


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

kasun:
I don't know much about C language.

The page explains the logic first and then gives a code sample in C. If you understand the logic, you can implement the same in Java.
The intention is to learn the algorithm rite?


apigee, a better way to API!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: best string matching algo...?