title: How to check in ruby if an string contains any of an array of strings
body: <p>I have an array of strings <code>a</code>, and I want to check if another long string <code>b</code> contains any of the strings in the array</p>
  
  <pre><code>a = ['key','words','to', 'check']
  b = "this is a long string"
  </code></pre>
  
  <p>What different options do I have to accomplish this?</p>
  
  <p>For example this seems to work</p>
  
  <pre><code>not a.select { |x| b.include? x }.empty?
  </code></pre>
  
  <p>But it returns a negative response, thats why I had <code>not</code>, any other ideas or differents ways?</p>