pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adam Lang <aalang@rutgersinsurance.com>
To: [PHP] PostgreSQL <pgsql-php@postgresql.org>
Subject: Re: Splitting strings
Date: Mon, 23 Apr 2001 12:22:49 -0400
Message-ID: <01d701c0cc11$a39c1740$330a0a0a@rutgersinsurance.com> (raw)
References: <000001c0cc0d$7dfabf40$0200a8c0@server>

Use the function "split".

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message ----- 
From: "Christian Marschalek" <cm@chello.at>
To: "[PHP] PostgreSQL" <pgsql-php@postgresql.org>
Sent: Monday, April 23, 2001 11:53 AM
Subject: [PHP] 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




view thread (6+ messages)  latest in thread

Message-ID: <01d701c0cc11$a39c1740$330a0a0a@rutgersinsurance.com>
Permalink:  ../01d701c0cc11$a39c1740$330a0a0a@rutgersinsurance.com/
Also on:    postgresql.org/message-id/01d701c0cc11$a39c1740$330a0a0a@rutgersinsurance.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: aalang@rutgersinsurance.com
  Subject: Re: Splitting strings
  In-Reply-To: <01d701c0cc11$a39c1740$330a0a0a@rutgersinsurance.com>
  References: <000001c0cc0d$7dfabf40$0200a8c0@server> <01d701c0cc11$a39c1740$330a0a0a@rutgersinsurance.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox