Method
Replace
func Replace(oldValue: string, newValue: string) -> string
Declaring type: String
Module: System
Assembly: System.Runtime.dll
Source file: String.rvn
Replaces exact, non-overlapping matches without modifying this string. Empty replacement deletes matches; empty search faults with RuntimeError. Arguments must be non-null. Matching uses UTF-8 without culture or normalization.
Parameters
| Name | Type | Description |
|---|---|---|
oldValue |
String | |
newValue |
String |