Received: from newman.hartehanks.com (newman.hartehanks.com [204.89.158.3]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f3NG9r379684 for ; Mon, 23 Apr 2001 12:09:54 -0400 (EDT) (envelope-from Timothy_Maguire@hartehanks.com) Received: from linmail.hartehanks.com (unverified) by newman.hartehanks.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Mon, 23 Apr 2001 11:59:39 -0400 Subject: Re: Splitting strings To: "Christian Marschalek" Cc: "[PHP] PostgreSQL" From: Timothy_Maguire@hartehanks.com Date: Mon, 23 Apr 2001 11:51:25 -0400 Message-ID: X-MIMETrack: Serialize by Router on linmail/Harte-Hanks(Release 5.0.6a |January 17, 2001) at 04/23/2001 12:00:06 PM MIME-Version: 1.0 Content-type: text/plain; charset="us-ascii" X-Archive-Number: 200104/29 X-Sequence-Number: 282 try array = explode("*", "abc*def*ghi"); That will put it into and array called array with 3 parts to it. "Christian Marschalek" @postgresql.org on 04/23/2001 11:53:08 AM Sent by: pgsql-php-owner@postgresql.org To: "[PHP] PostgreSQL" 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