Search code examples
similarity

Does anyone know of a good string comparison / checking tool?


I am looking for a good online string checking tool that will allow me to enter two long strings; and it will show me where any differences occur. It would also be nice if there is a tool that on input of a string showed you below each character an index, with escaped characters handled correctly so that /0 only takes up one space and not two.

Does anyone know of such a tool? It would greatly assist in string verification.


Solution

  • Have you heard of Levenshtein distance? It seems similar to what you're looking for, and the wiki article has some links to online implementations.