i have this:
<? if (strlen($item->introtext) > 300) { 
    echo substr($item->introtext, 0,300)." More"; 
    } else { 
    echo $item->introtext;}
?>
But it counts symbols, i want it to count words. E.g. after 10th word to add "More".
How to do this, i guess I must change "strlen" with smthing else?