Re: wordwrap() vs chunk_split()
| From: | John McKown | Date: | Wed, 30 Aug 2000 14:19:04 +0000 |
| Subject: | Re: wordwrap() vs chunk_split() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14398@lists.php.net to get a copy of this message | ||
wordwrap() will only split a line at a blank character. This blank must be
at or before the specified output length.
chunk_split will split the input line into lines of the specified length
without looking at the charaters around the split point.
On Wed, 30 Aug 2000, Richard Heyes wrote:
> What's the difference? From the manual at snaps.php.net/manual/en/html
> only the defaults appear different.
>
> Thx.
> --
> Richard Heyes
> http://www.heyes-computing.net/scripts/
>
>
>