Version

ReplaceFirst Method

string utility methods.
Syntax
'Declaration
 
Public Shared Function ReplaceFirst( _
   ByVal source As System.String, _
   ByVal find As System.String, _
   ByVal replace As System.String _
) As System.String
public static System.string ReplaceFirst( 
   System.string source,
   System.string find,
   System.string replace
)

Parameters

source
The source string to find and replace in
find
The string to find
replace
The string to use as the replacement
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, 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

View on GitHub