note 109117 deleted from function.wordwrap by danbrown
| From: | danbrown@php.net | Date: | Tue, 26 Jun 2012 14:00:17 +0000 |
| Subject: | note 109117 deleted from function.wordwrap by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-188843@lists.php.net to get a copy of this message | ||
Note Submitter: claudio
----
The solution of ju1ius for me doesn't work.
Try this:
<?php
$str = "a veeery looooong woooooooooooord";
echo utf8_wordwrap($str, 12, '<br/>');
/*
prints the following:
a veeery
looooong woooooooooooord"
it should be the following instead:
a veeery
looooong
woooooooooooord
*/
?>