SQL_INSTR
SQL_INSTR
INSTR('JQSPIDERS','Q',1)
------------------------
2
SQL> ED
Wrote file afiedt.buf
INSTR('JQSPIDERS','Q',2)
------------------------
2
SQL> ED
Wrote file afiedt.buf
INSTR('JQSPIDERS','Q',3)
------------------------
0
SQL> ED
Wrote file afiedt.buf
INSTR('JQSPIDERS','S',1,1)
--------------------------
3
SQL> ED
Wrote file afiedt.buf
INSTR('JQSPIDERS','S',1,2)
--------------------------
9
SQL> ED
Wrote file afiedt.buf
INSTR('JQSPIDERS','S',2,2)
--------------------------
9
SQL> -ED
SP2-0042: unknown command "-ED" - rest of line ignored.
SQL> ED
Wrote file afiedt.buf
INSTR('JQSPIDERS','S',4,2)
--------------------------
0
SQL> ED
Wrote file afiedt.buf
INSTR('JQSPIDERS','S',4,1)
--------------------------
9
SQL> ED
Wrote file afiedt.buf
INSTR('JQSPIDERS','S',1)
------------------------
3
INSTR('MALAYALAM','A',1,3)
--------------------------
6
SQL> ED
Wrote file afiedt.buf
SQL> ED
Wrote file afiedt.buf
INSTR('MALAYALAM','A',1,4)
--------------------------
8
SQL> ED
Wrote file afiedt.buf
INSTR('MALAYALAM','A',2,4)
--------------------------
8
SQL> ED
Wrote file afiedt.buf
INSTR('MALAYALAM','A',2,4)
--------------------------
8
SQL> ED
Wrote file afiedt.buf
INSTR('MALAYALAM','A',3,4)
--------------------------
0
SQL> ED
Wrote file afiedt.buf
SQL> ED
Wrote file afiedt.buf
INSTR('MALAYALAM','A',4,4)
--------------------------
0
SQL> ED
Wrote file afiedt.buf
INSTR('MALAYALAM','A',4,3)
--------------------------
8
SQL>