oracle query to split string by delimiter and check code example
Example: oracle split string
-- Splits a comma separated string into rows
SELECT regexp_substr('SARAH,JOE,PIMPO,LOUIS', '[^,]+', 1, LEVEL)
FROM DUAL
CONNECT BY regexp_substr('SARAH,JOE,PIMPO,LOUIS', '[^,]+', 1, LEVEL) IS NOT NULL;