string substring in oracle sql code example
Example: ORACLE SQL SUBSTR
SUBSTR(string, :START_POS, :SUBSTR_LENGTH);
SELECT SUBSTR('ABCDEFG',3,4) FROM DUAL;
--OUTPUT: CDEF
SUBSTR(string, :START_POS, :SUBSTR_LENGTH);
SELECT SUBSTR('ABCDEFG',3,4) FROM DUAL;
--OUTPUT: CDEF