How to remove "," from string variable?

i wan to remove , from string variable

Country= Korea, Republic of

but i need

Country= Korea Republic off

i have tried with using Country.Trim.Trim(",",c)

If MyStr is your variable, use MyStr.Replace(",", String.Empty).

3 Likes

ok let me try

@Anthony_Humphries thank you so much

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