Check out example codes for "oracle right characters". It will help you in understanding the concepts better.

Code Example 1

-- For Oracle only

-- syntax 
SUBSTR(<main-string>,-<number-of-characters>)

-- example 
SUBSTR('Useless stuff',-9) -- OUTPUT: ess stuff

-- practical example
SELECT SUBSTR('Useless stuff',-9)
FROM DUAL;

Learn ReactJs, React Native from akashmittal.com