Codex

Function Reference/wp html excerpt

Apparently, this function will truncate the string provided, down to the number of characters specified in the second argument.

wp_html_excerpt($string, $length)

Returns the truncated string.

This page is marked as incomplete. You can help Codex by expanding it.