Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

best string matching algo...?

 
kasun chathuranga
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the best string matching algorithm in java?
 
kasun chathuranga
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by kasun chathuranga:
What is the best string matching algorithm in java?


better to give a sample code...

Thank You !
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is rarely an absolute "best" for anything. This may help you select one.
 
kasun chathuranga
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you need to do?
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic