урезать строку по словам
function cutext($text, $words = 3, $separator = ' ')
{
$current_pos = 0;
for($i = 0; $i < $words; $i++)
{
$current_pos = strpos($text, $separator, ($current_pos + 1));
}
return substr($text, 0, $current_pos);
}
substr(strip_tags($text), 0, 250);