Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Replace Method

String.Replace Method

Replaces all occurrences of a specified Unicode character or String in this instance, with another specified Unicode character or String.

Name Description
String.Replace (Char, Char) Replaces all occurrences of a specified Unicode character in this instance with another specified Unicode character.

Supported by the .NET Compact Framework.

String.Replace (String, String) Replaces all occurrences of a specified String in this instance, with another specified String.

Supported by the .NET Compact Framework.

Community Additions

ADD
Show:
© 2015 Microsoft