Link to home
Create AccountLog in
Avatar of KavyaVS
KavyaVS

asked on

How to get the 2nd word from the column value after space (if it exists)

Hi,
If the Table column has 2 words (if exists they are separated by space) then I need the last word after space.If the column has only one word it should return last word empty. Can we do this.

Ex:Daniel G. need to return G.
Ex: John        need to return nothing.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Scott Pletcher
Scott Pletcher
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of KavyaVS
KavyaVS

ASKER

Thanks