Re: back references using regex - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: back references using regex
Date
Msg-id 20050908220635.GB16859@surnet.cl
Whole thread Raw
In response to Re: back references using regex  (Matthew Peter <survivedsushi@yahoo.com>)
List pgsql-general
On Thu, Sep 08, 2005 at 01:52:35PM -0700, Matthew Peter wrote:

> What I basically want to do is have a slice function
> like Python, where I can slice out items from a \s, \.
> or \n\n separated list. Where I'll just change the
> delimiter for the query that it applies.

There is a function for some sort of text slicing, though I'm not sure
if it does what you want.  It's called split_part().  Have a look at the
documentation.

--
Alvaro Herrera -- Valdivia, Chile         Architect, www.EnterpriseDB.com
"Aprender sin pensar es inútil; pensar sin aprender, peligroso" (Confucio)

pgsql-general by date:

Previous
From: "Michael Schmidt"
Date:
Subject: Re: EMS PostgreSQL Manager vs. TheKompany DataArchitect
Next
From: Tony Caduto
Date:
Subject: Re: EMS PostgreSQL Manager vs. TheKompany DataArchitect