note 25121 added to function.wordwrap
| From: | (net) | Date: | Wed, 11 Sep 2002 12:18:40 +0000 |
| Subject: | note 25121 added to function.wordwrap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-36509@lists.php.net to get a copy of this message | ||
Not quiet shure if I will ever make use of this...
<?PHP
$text = "so why not put something between the words?";
echo "$text";
echo wordwrap($text,1," - ");
echo wordwrap($text,1," · ");
?>
Output will be
"so - why - not - put - something - between - the - words?" and
"so · why · not · put · something · between · the · words?"
Sorry, I just like it...
Andreas
--
http://www.php.net/manual/en/function.wordwrap.php
http://master.php.net/manage/user-notes.php?action=edit+25121
http://master.php.net/manage/user-notes.php?action=delete+25121
http://master.php.net/manage/user-notes.php?action=reject+25121