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

2002-10-17 Thread Noodle Snacks
Cameron Cooke [EMAIL PROTECTED] wrote in message news:[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

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

2002-10-17 Thread Cameron Cooke
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. Cameron Noodle Snacks [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Cameron Cooke [EMAIL PROTECTED] wrote in message news:[EMAIL

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: ? function