|
|
|
SUBSTR HOW ORACLE SUBSTR FUNCTION WORKS SUBSTR('pqrxyzabc',3,4)
The above command returns rxyz
SUBSTR('My web site',4,3) returns web
SUBSTR('My web site',4) returns web site
SUBSTR('My web site',1,2) returns My
SUBSTR('My web site',4) returns web site
SUBSTR('My web site',-4,4) returns site