php截取指定2个字符之间字符串的方法。
function get_between($content, $start_char, $end_char) { $substr = substr($content, strlen($start_char) + strpos($content, $start_char), (strlen($content) - strpos($content, $end_char)) * (-1)); return $substr; }