Sun Oct 26, 2008 9:53 pm
<html>
<head>
<title>preg_split</title>
</head>
<body>
<?php
$date = "10/10.95";
/* Allowed date delimiters are . / - */
$date_array = preg_split("/[.\-\/]/", $date);
var_dump($date_array);
?>
</body>
</html>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.