Platform Core .NET Assemblies API
Replace(String,String,String,StringComparison) Method
See Also  Send Feedback
Terrasoft.Common Namespace > StringUtilities Class > Replace Method : Replace(String,String,String,StringComparison) Method
source
String.
pattern
String to be replaced.
replacement
String to replace all inclusions of pattern.
comparisonType
Type of comparison.

Glossary Item Box

Replaces all inclusions of the specified string with another specified string taking the settings into account (language, regional settings, case, sorting rules).

Syntax

 
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.

Remarks

Overloaded method.

Extensible method for the System.String class.

Requirements

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

See Also

© Terrasoft 2002-2018.