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