Oracle Function INSTR

INSTR(string,subString,position,ocurrence)查找字符串位置


解释:
      string:字符串

      subString:要查找的子字符串
      position:查找的开始位置
      ocurrence:字符串中第几次出现的子字符串


Ex:
INSTR('ABCD','C', 1, 1)
Select INSTR('ABCD','C', 1, 1)FROM DUAL;

 

Result:
INSTR('ABCD','C',1,1)
---------------------
3
1 row selected.

posted on 2013-12-19 09:56  Kevin Kim  阅读(192)  评论(0编辑  收藏  举报

导航