资 源 简 介
wu-manber-com is a com component based on the Wu–Manber algorithm for multiple string matching.
How to use it?
Add searchstring.dll as References to your c# or VB.net project.
The following example shows how to use it:
StringSearchLib.WuManber s = new StringSearchLib.WuManber();s.AddPatterns("keyword1,keyword2,keyword3", ",", false);int index = s.Search("... some text for searching...");Console.WriteLine(index);