title: wrong parameter count for strstr()
body: <p>I have built a nav menu in wordpres using a posts GUID, and post title, I am taking only part of the title and to do this I am doing the following, </p>
  
  <pre><code>$casestudylist .= "&lt;li class='subnav'&gt;&lt;a href=".$v-&gt;guid."&gt;". strstr($v-&gt;post_title, ":", true)."&lt;/a&gt;&lt;/li&gt;";
  </code></pre>
  
  <p>however I get the following warning and cannot work out why:</p>
  
  <pre><code>wrong parameter count for strstr()
  </code></pre>
  
  <p>Basically I am trying to pull all the characters out of a string if they are before a <code>:</code>.</p>