select regexp_substr('A,B,C,D,E', '[^,]+', 1, level, 'i') as str
from dual
connect by level <=
length('A,B,C,D,E') - length(regexp_replace('A,B,C,D,E', ',', '')) + 1;
把字符串按照分割符分解成不同的部分
最新推荐文章于 2021-09-27 15:05:44 发布
select regexp_substr('A,B,C,D,E', '[^,]+', 1, level, 'i') as str
from dual
connect by level <=
length('A,B,C,D,E') - length(regexp_replace('A,B,C,D,E', ',', '')) + 1;