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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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: Sat Sep 21 01:01:27 2024 UTC