Query for string containing one or more of many strings

Upreme

New Member
I found an example here:\[code\]var foo = things.Where(data =http://stackoverflow.com/questions/15835170/> myList.Contains(data.Title));\[/code\]However this is exact string matching. I am only interested in it if data.Title.ToLower() contains any of the strings found in list ToLower().Say list has apple, book ClocK in it.data.Title is for example: Apple Jacks, Book Club, Clockwork Book, those are all fine. But Claws and Foods, Clicks, Application Fundamentals, would not be accepted.
 
Back
Top