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.