PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $str = '[id618892552|Victoria Tran]'; list($id, $name) = explode('|', trim($str, '][')); echo 'id: ' . $id . PHP_EOL; echo 'name: ' . $name . PHP_EOL;
Show:  
Copy Clear