Date: 07/30/01
- Next message: Grant.Walters <email protected>: "[PHP-DEV] Bug #12477: preg_replace evaluates dollar signs as variables (eg $1,000 becomes ,000)"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] Re: TSRM compatibility note"
- Next in thread: cynic <email protected>: "[PHP-DEV] Bug #12476 Updated: a function that splits a string into equal parts while retaining whole words"
- Reply: cynic <email protected>: "[PHP-DEV] Bug #12476 Updated: a function that splits a string into equal parts while retaining whole words"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Grant.Walters <email protected>: "[PHP-DEV] Bug #12477: preg_replace evaluates dollar signs as variables (eg $1,000 becomes ,000)"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] Re: TSRM compatibility note"
- Next in thread: cynic <email protected>: "[PHP-DEV] Bug #12476 Updated: a function that splits a string into equal parts while retaining whole words"
- Reply: cynic <email protected>: "[PHP-DEV] Bug #12476 Updated: a function that splits a string into equal parts while retaining whole words"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

