Function excerpt
Creates an excerpt of an HTML string.
The following tags are preserved: A, P, CODE, DEL, EM, INS and STRONG.
Parameters summary
string |
$str |
HTML string. |
integer |
$limit = 55 |
The maximum number of words. |
Return value summary
string
|