Inital of surname needs extracting

drazen

Registered User.
Local time
Today, 10:48
Joined
Jan 28, 2016
Messages
31
Hi, I'm sure this is simple, but its got me.

I am wanting to extract the Surname initial from a string "Client Name"
However the format of the name changes, it could be

Mr John Doe
Mr Doe
Mr John Smith Doe

I need it to work from right to left, then extract the 'D'
can anyone help please?

Thanks
Tony.
 
Use InstrRev and Left functions
 

Users who are viewing this thread

Back
Top Bottom