Reply to Re: EXPLODE multiple seperators?

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация