Platform Core .NET Assemblies API
ReplaceFirstInstanceOf Method
See Also  Send Feedback
Terrasoft.Common Namespace > StringUtilities Class : ReplaceFirstInstanceOf Method
source
Source string.
oldValue
Old value.
newValue
New value.

Glossary Item Box

Returns a new string in which first occurrence of a specified string in the current instance are replaced with another specified string.

Syntax

 
C#
 
 

Parameters

source
Source string.
oldValue
Old value.
newValue
New value.

Return Value

Result string.

Remarks

Extension method for the class System.String.

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.