Replaces all instances of a string in a string with a new value
Namespace: Skewworks.NETMFAssembly: Skewworks.NETMF.Core (in Skewworks.NETMF.Core.dll) Version: 2.5.0.0 (2.5.0.0)
Syntax
C# |
---|
public static string Replace( string source, string toFind, string replaceWith ) |
Parameters
- source
- Type: System..::..String
String to be modified
- toFind
- Type: System..::..String
String to find within the source
- replaceWith
- Type: System..::..String
New value to replace all ToFind instances with
Return Value
Type: StringReturns the modified string