Method String::substrHtml

Meta:

Written by

Leo Feyer <http://www.contao.org>

/system/libraries/String.php line 138
Automatically extracted PHP DOC comment from code:

Shorten a HTML string to a certain number of characters
Shortens a string to a given number of characters preserving words
(therefore it might be a bit shorter or longer than the number of
characters specified). Preserves allowed tags.

END OF PHP DOC
public function string substrHtml(string $strString, integer $intNumberOfChars)

Parameters

string $strString
Not documented yet. Please add documentation to this entry.
integer $intNumberOfChars
Not documented yet. Please add documentation to this entry.

Add a comment

Please add 4 and 7.