title: Checking if a string contains a character in Scala
body: <p>I have a collection of Strings and I'm checking if they're correctly masked or not.</p>
  
  <p>They're in a map and so I'm iterating over it, pulling out the text value and then checking.  I'm trying various different combinations but none of which are giving me the finished result that I need.  I have gotten it working by iterating over each character but that feels very java-esque.</p>
  
  <p>My collection is something like:
  "text"-> "text"
  "text"-> "**xt"
  "text"-> "****"</p>
  
  <p>in the first two cases I need to confirm that the value is not all starred out and then add them to another list that can be returned.</p>
  
  <p>Edit
  My question:  I need to check if the value contains anything other an '*', how might I accomplish this in the most efficient scala-esque way?</p>
  
  <p>My attempt at regex also failed giving many false positives and it seems like such a simple task. I'm not sure if regex is the way to go, I also wondered if there was a method I could apply to .contains or use pattern matching</p>