Get a string in between two other strings

[email protected] ("Cameron Cooke") Thu, 17 Oct 2002 09:40:12 +0100
Newsgroups php.lang
Message-ID <[email protected]>
Hi,

I need a function to get a string in between two other strings. So you would
give the function the string to search and then you pass the first string
and last string, and the function will return the string in between.

Does anyone have this, or know how to do it. I tried but could not get it to
work.

Thanks for your help

Cameron Cooke
Toucan Resolve Ltd.