How with PHP to count words and then add "More"?
<p>i have this:</p>

<pre><code>&lt;? if (strlen($item-&gt;introtext) &gt; 300) { 
    echo substr($item-&gt;introtext, 0,300)." More"; 
    } else { 
    echo $item-&gt;introtext;}
?&gt;
</code></pre>

<p>But it counts symbols, i want it to count <strong>words</strong>. E.g. after 10th word to add "More".</p>

<p>How to do this, i guess I must change "strlen" with smthing else?</p>
