Re: Splitting strings - Mailing list pgsql-php

From Timothy_Maguire@hartehanks.com
Subject Re: Splitting strings
Date
Msg-id OFA1DA680E.A900E7ED-ON85256A37.0056F992@hartehanks.com
Whole thread Raw
In response to Splitting strings  ("Christian Marschalek" <cm@chello.at>)
List 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 by date:

Previous
From: "Dan Wilson"
Date:
Subject: Re: RE: Sessions without cookies
Next
From: Vince Vielhaber
Date:
Subject: Re: Refreshing php page every 5 secs WHILE SAVING INFORMATION