How would I go about splitting a sentence and assigning each word to its own variable.
for example the sentence/string JAN 1 - JAN 12
would be assigned to variables
$a ='JAN';
$b='1';
$c='-';
$d='JAN';
$e='12';
and then outputted to the page
echo $a $b $c $d $e;
I thought that this might come in handy one day when inserting dates to a database.