title: javascript match exact string
body: <p>how can I check with javascript if one string contains an other string? I have like something like:</p>
  
  <pre><code>var a = "Paris, France"
  var b = "Paris.."
  a.match(b) //returns "Paris, " but should return null
  </code></pre>
  
  <p>I think the problem is that match uses regexp. Is there a possibility to allow Sympols like 
  <code>.,-/\</code> etc. ?
  Thanks</p>