title: How to compare two strings in scala?
body: <p>I want to compare two strings in scala. for example,</p>
  
  <p>My Strings are:</p>
  
  <pre><code>scala java
  scala java c++
  scala c++
  </code></pre>
  
  <p>I want to compare the string</p>
  
  <p>" <strong>scala c++</strong>"  with each strings</p>
  
  <p>Results should be,</p>
  
  <pre><code>scala c++ = scala java   // false
  scala c++ = scala java c++  // false
  scala c++ = scala c++   // true
  </code></pre>