shorten_subject

Shorten a subject + internationalization concerns. - shortens a subject so that it is either shorter than length, or that length plus an ellipsis. - respects internationalization characters and entities as one character. - avoids trailing entities. - returns the shortened string.
Parameters Summary
string $subject
int $len