title: String compare not working
body: <p>I am trying to compare post titles in wordpress to avoid creating a post with a title that already exists.</p>
  
  <pre><code>foreach ($postnamearray as $value) 
  {
      if($value === $titelzor)
      {
          echo' '.$value.' === '.$titelzor.' ';
      }
      else
      {
          echo' '.$value.' != '.$titelzor.' &lt;br /&gt; ';
      }
  }
  </code></pre>
  
  <p>However, it's not working! When a match is supposed to be found, it comes back as (sorry for dutch text):</p>
  
  <pre><code>zovty, bedankt! != zovty, bedankt!
  </code></pre>
  
  <p>But it's supposed to come back as</p>
  
  <pre><code>zovty, bedankt! === zovty, bedankt!
  </code></pre>
  
  <p>So the script doesn't seem to detect it as having found a match. What did I do wrong?</p>