Stripping a prefix - Mailing list pgsql-general

From Bruce Guenter
Subject Stripping a prefix
Date
Msg-id 20000825093543.A25505@em.ca
Whole thread Raw
List pgsql-general
Greetings.

Is there a function available to strip a string from the start of a
string?  trim and ltrim can strip any occurrence of a set of characters
from the start of a string, but I want to be able to strip an exact
string.  In particular, if the string starts with "www." (including the
dot), then it should be stripped.

Thanks.
--
Bruce Guenter <bruceg@em.ca>                       http://em.ca/~bruceg/

Attachment

pgsql-general by date:

Previous
From: Bruce Guenter
Date:
Subject: Re: set pgsql-general nomail
Next
From: "anuj"
Date:
Subject: RE: system catalog problems