Re: [PHP] seperate streetname from number

2003-03-11 Thread Ernest E Vogelsinger
At 17:17 11.03.2003, André Sannerholt said: [snip] >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 >t

[PHP] seperate streetname from number

2003-03-11 Thread André Sannerholt
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 th