I have the following code
query = query.Where(x => words.Any(x.Message.Contains));
words
is a string[]
and x.Message
is a string
I would like to filter out my query based on all the words in my array but I would like this not to be case sensitive comparison so if i type 'bob' or 'BOb' it should not care and still compare those words against the message if Message is 'BOB is awesome' or 'bob is awesome'