I have a string field that looks like the following values:
Otbf.Srvr.Emalf.-
Otbf.Srvr.Swcb.-
Otbf.Srvr.Swcb.Abus1ss
Otbf.Srvr.Swcb.C
Acq.Tel.Tel.-
What I need is from the third period, over, taken off. So the above examples would be:
Otbf.Srvr.Emalf
Otbf.Srvr.Swcb
Otbf.Srvr.Swcb
Otbf.Srvr.Swcb
Acq.Tel.Tel
In the data, there is always a third period, and if there isnt anything after the period, then there is a dash, otherwise there is another word. No more than four words though. Any help would be great.
Otbf.Srvr.Emalf.-
Otbf.Srvr.Swcb.-
Otbf.Srvr.Swcb.Abus1ss
Otbf.Srvr.Swcb.C
Acq.Tel.Tel.-
What I need is from the third period, over, taken off. So the above examples would be:
Otbf.Srvr.Emalf
Otbf.Srvr.Swcb
Otbf.Srvr.Swcb
Otbf.Srvr.Swcb
Acq.Tel.Tel
In the data, there is always a third period, and if there isnt anything after the period, then there is a dash, otherwise there is another word. No more than four words though. Any help would be great.