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

Home -> Community -> Usenet -> c.d.o.misc -> I want to know how many times comma(,) appear in string ...

I want to know how many times comma(,) appear in string ...

From: ÃÖ»ó¼ø <topgun_at_freeway.co.kr>
Date: Mon, 27 Sep 1999 08:02:33 GMT
Message-ID: <twFH3.606$Lg2.27813@news2.bora.net>


I want to know the count of the string or character

as follows .

Given,
ls_string = '1253,5678,ascd,!@#er, 5896, @@@;';

How many times appear comma(,) in the string 'ls_string' ?

   The result : The comma(,) appears five times in the 'ls_string' .

Is there any function or other way to resolve this problem ?

We use Oracle 7.3.3.3.

Thanks in Advance . Received on Mon Sep 27 1999 - 03:02:33 CDT

Original text of this message

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