- print_r: documentation ( source)
- implode: documentation ( source)
- explode: documentation ( source)
- array_pop: documentation ( source)
<?php
$parts = explode(';',"1352,13;21313");
print_r($parts);
$returnVal = array_pop($parts);
print_r($returnVal);
echo "\nparts should now be one less";
print_r($parts);
$newVal = implode(";",$parts);
print_r($newVal);