CODE
<?php
$forum['last_subject'] = $PowerBB->Powerparse->censor_words($forum['last_subject']);
$title = $forum['last_subject'];
$num = "2";
$title = $PowerBB->functions->words_count($title,$num);?>
<a href="" title="<?php echo $forum['last_subject'];?>"><?php echo $title;?></a>
بارك الله فيك أستاذنا الغالي ، اشتغل بنجاح