Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> counting number of times in strings

counting number of times in strings

From: Maurice Samuels <samuels_at_red.seas.upenn.edu>
Date: 2000/07/11
Message-ID: <8kg075$ghf$1@netnews.upenn.edu>#1/1

does anyone out there know of any oracle supplied functions (pl/sql) that will count the number of times a character appears in a strings? for example,
string='0011223344'

the function would return 2 if i asked how many times '0' appears in the string. thanks in advance
-maurice
samuels_at_seas.upenn.edu Received on Tue Jul 11 2000 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US