Replace the set of characters simultaneously

Hello community,

I have a string let’s say “1.291,30”. Now, I need to replace ‘.’ → ‘,’ and vice-versa. My output should look like this “1,291.30”.

Can anyone help to achieve this output?

Thanks in advance!

Can we have more than one “.” and one “,”?

No. But it will be great if the handling mechanism is their even if more than ones exist.

@Palaniyappan any solution to this?

grafik
we can doit with the help of locals and format patterns
Ensure that System.Globalization is impoted to namespaces (down, tab close to variables)

3 Likes

It’s apparently working. Thank you.

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