Hi All,
I'm having string values like mentioned below.
String Values:
George, Matt J
Rambla, Tony G.
Expected Output:
George, Matt
Rambla, Tony
I would need to trim the letters like mentioned above. Can anyone help me with this?
I achieved the same in SQL by below query
declare @String as varchar(20) = 'Rambla, Tony G.'
select left(@string,len(@string)+1-charindex(' ',reverse(@string)))
How can I achieve this in MS Access?