oracle_substr

时间:2017-06-06 00:16:37   收藏:0   阅读:215

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

 

原文:http://www.cnblogs.com/0914lx/p/6947608.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!