本文内容
- 演示字符串分割
- 数据结构——字符数组
- 字符串分割函数 PL/SQL 包
- 结果
演示字符串分割
本文字符串分割函数能达到如下效果,这是用 SELECT 语句查看结果,在“结论”小节,将用过程查看分割的结果:
as split1,
strutil.concat(strutil.splitstrbyseparators('a,1,b,2,ccdd;ef;', ',')) as split2,
strutil.concat(strutil.splitstrbyseparators('a,1,b,2,ccdd;ef;', ',;')) as split3,
strutil.concat(strutil.splitstrbyseparators('a,1,b,2,;|\;ef;', ',;|\')) as split4
from dual