Hi everyone!

I wondered how to sepearate string variables that contain streetnames and
numbers:

If for example
$variable="Hauptstraße 15";

$variable_string[0] should be "Hauptstraße"
$variable_string[1] should be "15"

So I need a function that recognizes a number and explodes the variable at
that very position.
It's important that the thing also works when $variable="Hauptstraße15";
without any space. Else it would have been easy to do with the explode
function...

Regards

André





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to