| FileHelperReplaceInFile Method (String, String, String, Encoding) | 
            Performs the string replacement within the file.
            
 
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntaxpublic static void ReplaceInFile(
	string filePath,
	string what,
	string replaceWith,
	Encoding encoding
)
Parameters
- filePath
 - Type: SystemString
File path - what
 - Type: SystemString
String to replace (old string) - replaceWith
 - Type: SystemString
Replacement (new string) - encoding
 - Type: System.TextEncoding
File encoding 
See Also