parsing fields - Mailing list pgsql-general

From Douglas Blood
Subject parsing fields
Date
Msg-id 021a01c259a0$70141940$2000a8c0@spruce
Whole thread Raw
List pgsql-general
Is there a way in postgres to count how many instances of a character there
are in a varchar field?
I know how I can see if there is any instance of the character using
strpos() but that will only find if there is one and i would like the total
count of them.
Any help would be appriciated.
Douglas Blood
Matraex Inc.


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Mailing lists archive search
Next
From: Roland Roberts
Date:
Subject: plpgsql trigger parse error