ProjectHelperReplaceMarkupAttr Method |
Changes first occurrence of string to new value in text file.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public static void ReplaceMarkupAttr(
string inFile,
string outFile,
string oldValue,
string newValue
)
Parameters
- inFile
- Type: SystemString
Input file - outFile
- Type: SystemString
Output file - oldValue
- Type: SystemString
String to be replaced - newValue
- Type: SystemString
String to replace first occurrence
See Also