Thanks to a little guidance here I have written a function for getting part of a string returned.
function getcontent($tag,$string)
{
$pos1 = stripos($string, '<'.$tag.'>');
$pos2 = stripos($string, '<'.$tag.'>');
$content = substr($string, $pos1, $pos2);
return $content;
}
print $content('row','Hello world <row> bladh </row>');
output would be "bladh"