is there any nice way to split an string after \" \" or . ?
Like
$string = \"test.test\" result = test $string = \"test doe\" result = test <
$string = \"test.test\" result = test $string = \"test doe\" result = test
If you want to split on several different chars, take a look at preg_split
//split string on space or period: $split=preg_split('/[ \.]/', $string);