RE:Contar ocurrencias de un caracter
-- Contamos cantidad de caracter ',' dentro de cada string.
v_cont := length('asasas,1212eer,weert,555') - length(REPLACE('asasas,1212eer,weert,555',','))+1;
v_nemo := trim('asasas,1212eer,weert,555');
.
.
.
--string cortado antes de coma.
substr(v_nemo,1,instr(v_nemo||',',',') -1)
.
.
.
-- se corta string restante por analizar
v_nemo := substr(v_nemo,instr(v_nemo||',',',')+1,length(v_nemo) );