Click or drag to resize

StringExtensionsReplace Method

Namespace:  Dynamicweb.Core
Assembly:  Dynamicweb.Core (in Dynamicweb.Core.dll) Version: 3.1.1
Syntax
public static string Replace(
	this string input,
	string oldValue,
	string newValue,
	RegexOptions options
)

Parameters

input
Type: SystemString
oldValue
Type: SystemString
newValue
Type: SystemString
options
Type: System.Text.RegularExpressionsRegexOptions

Return Value

Type: String

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also