PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $string = '11114444333322225555'; $slice = '4'; $strLen = mb_strlen($string); $remainder = $strLen - $slice; $string2 = substr($string, -1, $remainder); print_r($string2);
Show:  
Copy Clear