[PHP-DEV] Bug #12476: a function that splits a string into equal parts while retaining whole words From: adam <email protected>
Date: 07/30/01

From: adam <email protected>
Operating system: linux
PHP version: 4.0.4pl1
PHP Bug Type: Feature/Change Request
Bug description: a function that splits a string into equal parts while retaining whole words

//perhaps a function like this
<?php

$str = "blah blah blah blah blah blah";

$columns = str_seperate($str,2);

echo $columns[0].'<br><br>'.$columns[1];

?>

//outputting

blah blah blah

blah blah blah

-- 
Edit bug report at: http://bugs.php.net/?id=12476&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>