C#
Parameters
- source
- String.
- pattern
- String to be replaced.
- replacement
- String to replace all inclusions of pattern.
- comparisonType
- Type of comparison.
Return Value
An instance equivalent to the current one but with all pattern inclusions replaced with replacement.Overloaded method.
Extensible method for the System.String class.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2