Scala filter substring from string
<p>i'm trying to filter a substring from a string. The problem is instead of just removing the sub string "fd" from "fdskufh". It removes "fd" from the string, but then also removes the second f, so the new string is "skuh". Any suggestions would be much appreciated? I have been using the function below: </p>

<pre><code>        def stripChars(s:String, ch:String)= s filterNot (ch contains _)
</code></pre>