如何读取文本文件并通过信函比较它们 [英] How Can I Read To Text Files And Compare Them Letter By Letter
本文介绍了如何读取文本文件并通过信函比较它们的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想读取两个文本文件并输出它们的相似度百分比以及哪些字母不相似。第一部分我可以使用函数similar_text($ text1,$ text2,$ percent)来完成它,但我真的是如何做第二部分。任何想法??
提前谢谢
解决方案
text1,
text2,
百分比),但我真的该怎么做第二部分。任何想法??
提前致谢
I want to read two text files and output the percent of similarity of them and which letters where unsimilar. The first part i can do it with the function similar_text($text1, $text2, $percent), but i really how to do the 2nd part. Any ideas??
Thanks in advance
解决方案
text1,
text2,
percent), but i really how to do the 2nd part. Any ideas??
Thanks in advance
这篇关于如何读取文本文件并通过信函比较它们的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文