Click or drag to resize

StringExtensionsReplaceCaseInsensitive Method

Performs a case insensitive string replacement.

Namespace: GSF
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public static string ReplaceCaseInsensitive(
	this string value,
	string fromText,
	string toText
)
View Source

Parameters

value  String
The string to examine.
fromText  String
The value to replace.
toText  String
The new value to be inserted

Return Value

String
A string with replacements.

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