开发者

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 e开发者_Python百科scaped 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.


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.


there are lots of techniques like simmetrics, or locality sensitive hashing. Also look at the difflib library of python http://docs.python.org/library/difflib.html for the purpose.


After realizing what I should be searching for... "diff tool", I got : http://www.quickdiff.com/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜