New answers tagged

2

The arguments for JHtmlString::truncate() are: string $text The text to truncate. integer $length The maximum length of the text. boolean $noSplit Don't split a word if that is where the cutoff occurs (default: true). boolean $allowHtml Allow HTML tags in the output, and close any open tags (default: true). Change the last argument to ...


Top 50 recent answers are included