FileHelperReplaceInFile Method (String, String, String) |
Performs the string replacement within the file.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax 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