Hey, how could I accomplish this:
$text is a string.
I want to extract the part of the string between the 2 characters "aa" and "zz" and store it as a new string called $modifiedString.
Thankyou for your help! Jason
You'll probably get a better answer than this, but I'm tired. Try this
$begin = spliti("aa", $string); $end = spliti("zz", $begin[(count($begin)-1)]); $modifiedString = $end[0];