2.5.13. wordwrap()

string wordwrap ( string text, int width [, string break] )

Returns a string with text wrapped at the column number specified by the optional width parameter. The line is broken using the (optional) break parameter.

Example 2.18. wordwrap() function

{* only about 120 characters in one column *}
<p>{wordwrap($article, 120, "\n<br/>")}</p>