<?php $str = "12-04-2013"; $s1 = strtok($str,"-"); $s2 = strtok("-"); $s3 = strtok("\n"); echo ("$s1 $s2 $s3"); ?>
You have javascript disabled. You will not be able to edit any code.