摘要: 1、substroracle:取得字符串中指定起始位置和长度的字符串substr(string,start_position,[length])参数1:string 要处理的字符串参数2:a 截取字符串的开始位置(起始位置是1)参数3:b 截取的字符串的长度(而不是字符串的结束位置)select substr('Hello World',2,1) from dual;select substr('Hello World',1,1) from dual;select substr('Hello World',0,1) from dual;结果为 e 阅读全文
posted @ 2013-07-02 17:32 nextnj 阅读(339) 评论(0) 推荐(0) 编辑