Say I have a 200 character string that contains HTML markup. I want to show a preview of just the first 50 chars. without \'splitting up\' the tags. In other words, the frag
A simple approach might be to strip_tags() first and then capture the excerpt.
strip_tags()