Mono Class Library: System.String Overview | Members

System.String.Replace Method

Replaces all instances of a specified Unicode character with another specified Unicode character. [Edit]

public string Replace (char oldChar, char newChar)

Parameters

oldChar
The Unicode character to be replaced. [Edit]
newChar
The Unicode character to replace all occurrences of oldChar. [Edit]

Returns

A string equivalent to the current instance with all occurrences of oldChar replaced with newChar. [Edit]

Remarks

Documentation for this section has not yet been entered. [Edit]

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0