Find first space from right

Purdue2479

Registered User.
Local time
Today, 07:33
Joined
Jul 1, 2003
Messages
52
I need an expression which finds the first space from the right and returns the text (variable length) to the right of it.


Ex.

AMINOPH, THEOPHY. INJ

expression should return INJ
 
Check out the INSTRREV function, LEN function and RIGHT function.

Total length of string - position of space from right

Take those number of RIGHT characters.
 

Users who are viewing this thread

Back
Top Bottom