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

ID: 12476
Updated by: cynic
Reported By: adam <email protected>
Old Status: Open
Status: Bogus
Bug Type: Feature/Change Request
Operating System: linux
PHP Version: 4.0.4pl1
New Comment:

see http://www.php.net/wordwrap

Previous Comments:
------------------------------------------------------------------------

[2001-07-30 22:48:53] adam <email protected>

//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 this 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>