How to Replace multiple characters in single instance

I have a scenario i received a amount value like this “4,530.00” but i need to replace as
“4.530,00”
Any Solution?

@rsr.chandu

Can you provide more examples?

Amount is “1,0356.108” i need the value as “1.0356,108”
comma into dot & Dot into Comma

@rsr.chandu

Try this

amountStr.Replace(",", "_").Replace(".", ",").Replace("_", ".")
1 Like

@rsr.chandu - I guess this is country based. You are trying to change the currency format for different country…right?

Correct, Instead of changing the system settings, i am trying to do with uipath code

@rsr.chandu

Is the above code working for you?