$pos = bbcode::tags($pos);
$bstring = $pos['text'];
$bstring = strip_tags($bstring);
$bstring = substr($bstring, 0, 45);
$bstring = rtrim($bstring, "!,.-");
$bstring = substr($bstring, 0, strrpos($bstring, ' '));
echo ''.$bstring.'';
Изменил: Алексей (29.07.2021 / 15:34)