Remove the dot at the end of the string

How to Remove the decimal point which is at the end of the string

Eg string : 928.393389.
Output: 928.393389

Just need the last dot to be removed


Check Attached (16.1 KB)

It will check whether the end string is ending with .(dot) or not

Mark as solution if this helps


can be done within a One liner:
If(strText.Last.Equals("."c), strText.Remove(strText.Length-1,1),strText)

find demo here:
Remove_SpecificChar_LastPosition.xaml (4.9 KB)


Hi @Sweety_Girl

You can also use below regex

So you can mark this as a solution now and like it if it helps you :innocent:

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.