This is something similar to this question about
How to remove a full stop from the end of data
But in this case the data field can be like this
MyVal
abcd. ->>expected abcd
abcd.. abcd
abcd . abcd
abcd .. abcd
ab.abb... ab.abb
etc….
I can do something like
Select case when like '%.' then substring(MyVal ,1,len(MyVal )-1)
case when like '%..' then substring(MyVal ,1,len(MyVal )-2)
by matching every kind of pattern there going to be..
Since this is manual way, I am looking for a general way that can remove any number of full stop may occur after the value field.
Thanks
Update:
If you want to remove spaces as well you can use this instead.
SE-Data