楼上的可真能兑付 汗一个 真牛以下是真正的答案$a = "q97018352a79812";$b= (strpos($a,"q"));$c= (strpos($a,"a"));echo substr($a,$b+1,$c-1); ?>
$str="q97018352a79812";echo substr($str,1,8);