I have a string (with spaces) from which i want to separate the last word. For example:
"Steve Jobs" => Jobs
"Stack OverFlow Question" => Questions
Is there any function in PL/SQL or SQL so that i am able to get the results as Jobs and Question separated out?
You can use
INSTRandSUBSTR.INSTRtells you the position of a particular character. Passing a -1 for the start position tells Oracle to start looking at the end of the string backwards toward the front of the string.