// 字符串 起始字符串 结束字符串
function GetBetween($content,$start,$end){ $r = explode($start, $content); if (isset($r[1])){ $r = explode($end, $r[1]); return trim($r[0]); } return ''; }
// 字符串 起始字符串 结束字符串
function GetBetween($content,$start,$end){ $r = explode($start, $content); if (isset($r[1])){ $r = explode($end, $r[1]); return trim($r[0]); } return ''; }
转载于:https://www.cnblogs.com/zrn-php/p/9447354.html