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 Chriss Miller 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
Joined
Jun 26, 2006
Messages
16
Location
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