php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #12476 a function that splits a string into equal parts while retaining whole words
Submitted: 2001-07-30 22:48 UTC Modified: 2001-07-31 18:48 UTC
From: adam at wangallery dot com Assigned:
Status: Not a bug Package: Feature/Change Request
PHP Version: 4.0.4pl1 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: adam at wangallery dot com
New email:
PHP Version: OS:

 

 [2001-07-30 22:48 UTC] adam at wangallery dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-31 18:48 UTC] cynic@php.net
see http://www.php.net/wordwrap
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 07:01:29 2024 UTC