note 97721 added to function.wordwrap
| From: | esserj at osu1 dot php dot net | Date: | Wed, 05 May 2010 09:01:54 +0000 |
| Subject: | note 97721 added to function.wordwrap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-168950@lists.php.net to get a copy of this message | ||
in addition to my previous code i forgot to add potention end of the string :(
before the return we add that:
<?php
$retString .= $prevCut ? substr($string,$prevCut) . $splitChar : $string; #forgot this line
return $retString;
?>
----
Server IP: 69.147.83.197
Probable Submitter: 195.212.29.91
----
Manual Page -- http://www.php.net/manual/en/function.wordwrap.php
Edit -- https://master.php.net/note/edit/97721
Del: integrated -- https://master.php.net/note/delete/97721/integrated
Del: useless -- https://master.php.net/note/delete/97721/useless
Del: bad code -- https://master.php.net/note/delete/97721/bad+code
Del: spam -- https://master.php.net/note/delete/97721/spam
Del: non-english -- https://master.php.net/note/delete/97721/non-english
Del: in docs -- https://master.php.net/note/delete/97721/in+docs
Del: other reasons-- https://master.php.net/note/delete/97721
Reject -- https://master.php.net/note/reject/97721
Search -- https://master.php.net/manage/user-notes.php