Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: string Replace(this string, string, string, StringComparison)

Declaration

public static string Replace(
    this string str,
    string oldValue,
    string newValue,
    StringComparison comparison
)

Summary

Returns a new string in which all occurrences of oldValue in the current instance, identified using the specified string comparison, are replaced with newValue.