title: how to check if string contains '+' character
body: <p>I want to check if my string contains  a + character.I tried following code</p>
  
  <pre><code>s= "ddjdjdj+kfkfkf";
  
  if(s.contains ("\\+"){
   String parts[] = s.split("\\+);
    s=  parts[0]; // i want to strip part after  +
  
  }
  </code></pre>
  
  <p>but it doesnot give expected result.Any idea?</p>