如何使用C#在文档中搜索单词 [英] How to search word in a document using C#
本文介绍了如何使用C#在文档中搜索单词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用C#
推荐答案
在文档中搜索和计算所需的单词你在谈论什么文件?
如果是纯文本,你可以 System.IO [ ^ ]
请参阅此处的文章:http://www.codeguru.com/csharp/csharp/cs_syntax/anandctutorials/article.php/c5861/ [ ^ ]
搜索当然,你应该这样做。
What document are you talking about?
If it''s plain text, you could System.IO[^]
See an article on that here: http://www.codeguru.com/csharp/csharp/cs_syntax/anandctutorials/article.php/c5861/[^]
The searching and counting, of course, you should do.
这篇关于如何使用C#在文档中搜索单词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文