Re: str_replace to ignore commas

From: Date: Tue, 06 Jan 2004 14:58:51 +0000
Subject: Re: str_replace to ignore commas
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-173850@lists.php.net to get a copy of this message
> could the problem be that you explode on " " so the phrase 'New York', > having a space, is split up? Could be. Some times the New is on one line and the York is on the next line. I need for it to explode no matter what. How would I do that? For instance the print_r for the array shows me this in one instance. None of which is hightlighted (and should be) in other words all of these where skipped and the New York should have been selected. I know that the comma is causing trouble as well. /> New [913] => York, [914] => New [915] => York /> Dear [917] => Mr. [918] => Conlin:

« previous php.general (#173850) next »