"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 between.
>
> Does anyone have this, or know how to do it. I tried but could not get it
to
> work.

will substr() - http://au.php.net/manual/en/function.substr.php suit your
needs?

if not check out:

http://au.php.net/manual/en/ref.regex.php

and

http://au.php.net/manual/en/ref.pcre.php



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to