How to do a STAR search in LINQ

Posted by aNui on Stack Overflow See other posts from Stack Overflow or by aNui
Published on 2010-04-18T22:36:16Z Indexed on 2010/04/18 22:43 UTC
Read the original article Hit count: 391

Filed under:
|
|
|
|

I'm not sure about clarity of the STAR word.
I'm implementing a search method using linq-to-object in c#.
And I want to do a search with * (star) operator like most of search apps or web can do.

e.g.
If I typed "p*", results should be everything starting with "p".
And it should work for prefix star, suffix star or star in the middle.

And it would be great if the search can do with
"-" (minus/NOT) operator
or "+" (plus/OR) operator
or "AND" operator

Thanks in advance.

© Stack Overflow or respective owner

Related posts about LINQ

Related posts about search