String..::..Replace Method (Char, Char)
Returns a new string in which all occurrences of a specified Unicode character in this instance are replaced with another specified Unicode character.
Namespace:
SystemAssembly: Bridge (in Bridge.dll)
Syntax
[TemplateAttribute] public string Replace( char oldChar, char replaceChar )
<TemplateAttribute> _ Public Function Replace ( _ oldChar As Char, _ replaceChar As Char _ ) As String
[TemplateAttribute] public: String^ Replace( wchar_t^ oldChar, wchar_t^ replaceChar )
Parameters
- oldChar
- Type: System..::..Char
The Unicode character to be replaced.
- replaceChar
- Type: System..::..Char