Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

string comparisons

Status
Not open for further replies.

danny2785

Programmer
Jun 26, 2006
16
0
0
US
Does anybody know of a module or perhaps a method that takes two strings, and then returns something like a percentage of how similar they are? Thanks
 
your question is a bit vague in that comparing similarities could mean any number of things, but here are some suggestions to get you started:

Text::Diff
Text::Compare
Algorithm::Diff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top