title: Linq search string word separate string
body: <p>I got a list of string. I want to do a search inside and return a new list. The search value is a string (sentence). Each word are split by a space.</p>
  
  <p>So, I look at a way to search each string containing each word of the sentence.</p>
  
  <p>sample :</p>
  
  <pre><code>list = {"abcdef", "abc", "ab", "cd ab"}
  
  search "ab" =&gt; return list with "abcdef", "abc", "ab", "cd ab"
  search "abc" =&gt; return list with "abcdef", "abc"
  search "ab cd" =&gt; return list with "abcdef","cd ab"
  </code></pre>
  
  <p>its simple but I don't know how to do it with Linq in a single command. Something like </p>
  
  <pre><code>if l.contains(list) 
  </code></pre>
  
  <p>where contains check every element of the list.</p>
  
  <p>That may be simple, I just ask how. Or maybe a link to another post that I have not seen.</p>
  
  <p>Thank you</p>