Something like this:
$str = "bla bla bla ...";
$tmp = explode(" ",$str); $tmp_ = "";
foreach ($tmp as $value) {
$tmp_.= "$value ";
if (strlen($tmp_) > 100) {
$last_tmp_.= "...";
break;
}
$last_tmp_ = $tmp_;
}
echo $last_tmp_;
this code is write blindly, but should get the ideea ...