Click or drag to resize
FileHelperReplaceInFile Method (String, String, String)
Performs the string replacement within the file.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
public static void ReplaceInFile(
	string filePath,
	string what,
	string replaceWith
)

Parameters

filePath
Type: SystemString
File path
what
Type: SystemString
String to replace (old string)
replaceWith
Type: SystemString
Replacement (new string)
See Also