Bug #12476 Updated: a function that splits a string into equal parts while retaining whole words
| From: | cynic@php.net | Date: | Tue, 31 Jul 2001 22:48:35 +0000 |
| Subject: | Bug #12476 Updated: a function that splits a string into equal parts while retaining whole words | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-61691@lists.php.net to get a copy of this message | ||
ID: 12476
Updated by: cynic
Reported By: adam@wangallery.com
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@wangallery.com
//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