This documentation is archived and is not being maintained.

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.

Show: