|
wordwrapWraps a string to a given number of characters Description
string wordwrap(
string $string ,int $width = 75,string $break = "\n",bool $cut_long_words = false )
Wraps a string to a given number of characters using a string break
character.
Strings wrap after a space (U+0020) character unless Parameters
Return ValuesReturns the given string wrapped at the specified length. Errors/Exceptions
If Changelog
Examples
Example #1 wordwrap example
The above example will output: The quick brown fox<br /> jumped over the lazy<br /> dog. Example #2 wordwrap example
The above example will output: A very long wooooooo ooooord. Example #3 wordwrap example
The above example will output: A very long woooooooooooooooooord. and something See Also
|