[ create a new paste ] login | about

Link: http://codepad.org/JkOaS0oc    [ raw code | output | fork ]

PHP, pasted on Feb 1:
1
2
3
4
5
<?php
$string = 'abc_123_test';

echo array_pop(split('_', $string));
?>


Output:
1
test


Create a new paste based on this one


Comments: