<?php $string = "tacos ares so good {tag} don't you think {tag} or do you not think?"; function _return_between($tag,$subject) { $split = explode($tag,$subject,3); return isset($split[1])?$split[1]:false; } echo _return_between('{tag}',$string);
You have javascript disabled. You will not be able to edit any code.