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' ";
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
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
"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 str
4 matches
Mail list logo