simple string replace that does not require regular expressions

Is there a simple string replace class that does not require regular expressions.

I want to replace a string that has lots of {}(),. kinds of characters and it’s a long string and the regular
expression will be awful.

Is there a simple thing like

mystring=mystring.replace(x,y)?

Thanks,
Dan

Well, there’s a built-in String.Replace() function which can take either characters or strings as the x,y parameters, or it’s possible to use String.Remove() and String.Insert() in combination if you want to use an index and count as your x,y parameters. See all the member functions on the MSDN website: