sveggiani on 06/19/10
Last Edited at 06/19/10 06:01am
function GetBetween($content,$start,$end){ $r = explode($start, $content); if (isset($r[1])){ $r = explode($end, $r[1]); return $r[0]; } return '';}
URL: http://www.jonasjohn.de/snippets/php/get-between.htm
Report this snippet Tweet
Comment:
You need to login to post a comment.