MySQL Linux Ubuntu CentOS PHP Windows CSS3
2022年7月01日- 書箋
strripos
$number = '1_0';$result = substr($number,strripos($number,"_")+1);echo $result;
strrops
$test = '1_0'; $result = substr($test,0,strrpos($test,"_"));echo $result;