string implode ( string glue, array pieces )
array explode ( string separator, string string [, int limit] )
//Break the string into an array.
$expdate = explode ("-","1979-06-23");
echo $expdate[0] . ",";
//Then pull it back together into a string.
$fulldate = implode ("-", $expdate);
echo $fulldate;
?>