Uipath remove comma and dot after decimal

Uipath remove comma and dot after decimal or after the first . (dot)

Sample input : 16,4.44,618.09
Output : 16444618.09

Sample input : 16,45.44,618.09343
Output : 164544618.09343

Thanks for any idea.

Hi @AhmedKutraphali

Please use this syntax,

strText - your text

strText.Substring(0,strText.LastIndexOf(".")).Replace(",","").Replace(".","")+strText.Substring(strText.LastIndexOf("."),strText.Length-strText.LastIndexOf("."))

image

image

image

image

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