$keyword="13572612589归属";
$str = mb_substr($keyword, - 2, 2, "UTF-8");//从倒数第二个开始截取,截取2个
$str_key = mb_substr($keyword, 0, - 2, "UTF-8");//从第一个开始截取掉最后2个
echo $str."<BR />".$str_key;
//归属
// 13572612329
转载于:https://www.cnblogs.com/741570hh/p/6841613.html