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
You could do a strtr of . into space and then explode by space. Since strtr is very fast.