Thanks for the response. I already have the toggle feature. I have my articles store in a database and already HTML formatted. I basically want to divide the article and show the first 1000 character part of the article, and then show the second part of the article when they click the “expand” link.
Revised Question:
I guess a better question is how can I find the first HTML end tag (</p>,</a>,</table>, etc) AFTER the first 1000 characters in a string and store all of that (including the HTML end tag) into $part1, and then take the remainder of the string and store it into $part2. The string contains the entire HTML formatted article.
Nevermind, I got a workaround. Just found the strpos of the first <p> tag after a 1000 character offset. Then split the article into two parts to hide and expand if the article is over 1000 characters.