title: value || is not a member of String - scala
body: <p>I am using string filter function like:</p>
  
  <pre><code>val strings = List("hi","I","am","here") //this list is a stream of words from Twitter
  val mystrings = strings.filter(word =&gt; !word.contains("I" || "sam") // I need filter out certain stop words
  </code></pre>
  
  <p>to filter certain words. But I am getting compilation error saying that - value <code>||</code> is not a member of <code>String</code>. Can anybody tell me where I am going wrong?</p>