str_split без переноса слов

Я ищусамое быстрое решение, чтобыТрещина нить на части, безперенос слова.

$strText = "The quick brown fox jumps over the lazy dog";

$arrSplit = str_split($strText, 12);

// result: array("The quick br","own fox jump","s over the l","azy dog");
// better: array("The quick","brown fox","jumps over the","lazy dog");

Ответы на вопрос(1)

Ваш ответ на вопрос