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

@Sweety_Girl

Check Attached

BlankProcess18.zip (16.1 KB)

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

Mark as solution if this helps

Thanks

@Sweety_Girl
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)

2 Likes

Hi @Sweety_Girl

You can also use below regex
image

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:

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