oracle_substr

substr(String str,int a ,int length)

参数1:string 要处理的字符串

参数2: a 截取字符串的开始位置(起始位置是0)

参数3: length截取的字符串的长度

substr(String string, int a):截取从a位置到结束位置

substr("abcdefg",1,2);//结果:bc

substr("abcdefg",4);//efg

原文地址:https://www.cnblogs.com/0914lx/p/6947608.html