Here is a a handy little function to display the text between two strings. This is useful when parsing XML, bbCode or even for creating article teasers for blogs or news articles.
HTML – a short paragraph about what it is and how it works.