| 
	
 | 
 Posted by Michael Fesser on 02/02/07 16:07 
..oO(comatose) 
 
>On Thu, 01 Feb 2007 23:13:08 +0100, "J.O. Aho" <user@example.net> wrote: 
> 
>>This works, but not really best option: 
>>$string=explode('.',ereg_replace(',','.',"1234,567.89")); 
>> 
>>Bit unsure about this one: 
>>$string=preg_split("/[,.]/","1234,567.89"); 
> 
>Neither of them worked. 
 
They both work, even if the first one is pretty ugly. 
 
Micha
 
  
Navigation:
[Reply to this message] 
 |