Mega Code Archive

 
Categories / Oracle PLSQL / Regular Expressions
 

Findthe's'andignorecase

SQL> SQL> -- Find the 's' and ignore case. SQL> SQL> SELECT REGEXP_INSTR('Sam told a story','s',1,1,0,'i') position FROM dual;   POSITION ----------          1 SQL>