Oups, sorry

 

mistake by copy & paste ;-)

 

On Sa 06.12.2008 01:30 Jason wrote:

 

> Can you explain how to do an address now into City, State, Zip

> Like: cortland, ny 13045

 

 

$string = "cortland, ny 13045";

$search = array(", ", ",");

$replace = array(" ", " ");

$newString = str_replace($search, $replace, $string); $array = explode(" ",
$newString);

 

 

Regards from Stuttgart

 

Conny

 

 

PS: Sorry about my perfect english

Reply via email to