Re: [PHP] Re: Get the string in between two other strings

2002-10-17 Thread Tom Rogers
Hi, Thursday, October 17, 2002, 10:33:43 PM, you wrote: CC> I have looked at these, and they make no sense to me. I tried the substr CC> function, but it all went a bit pear shaped. Here is a way that will handle line breaks which tend to stuff up the string functions: "; echo "Str1: '$str1' ";

Re: [PHP] Re: Get the string in between two other strings

2002-10-17 Thread John S. Huggins
On Thu, 17 Oct 2002, Cameron Cooke wrote: >-I have looked at these, and they make no sense to me. I tried the substr >-function, but it all went a bit pear shaped. Try something like this, you can deal with the linewraps ;) Reference: http://au.php.net/manual/en/function.strpos.php http://au.ph