Re: Splitting strings

Поиск
Список
Период
Сортировка
От Timothy_Maguire@hartehanks.com
Тема Re: Splitting strings
Дата
Msg-id OFA1DA680E.A900E7ED-ON85256A37.0056F992@hartehanks.com
обсуждение исходный текст
Ответ на Splitting strings  ("Christian Marschalek" <cm@chello.at>)
Список pgsql-php
try

array = explode("*", "abc*def*ghi");

That will put it into and array called array with 3 parts to it.




"Christian Marschalek" <cm@chello.at>@postgresql.org on 04/23/2001 11:53:08
AM

Sent by:  pgsql-php-owner@postgresql.org


To:   "[PHP] PostgreSQL" <pgsql-php@postgresql.org>
cc:

Subject:  Splitting strings


How would you split a string which is seperated by * with PHP?

Like "abc*def*ghi" into "abc","def","ghi"?

Any clues? Thanks in advance :)


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster




---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl




В списке pgsql-php по дате отправления:

Предыдущее
От: "Dan Wilson"
Дата:
Сообщение: Re: RE: Sessions without cookies
Следующее
От: Vince Vielhaber
Дата:
Сообщение: Re: Refreshing php page every 5 secs WHILE SAVING INFORMATION