FileContent.FindAndDelete
| Method | |
|---|---|
| Module | FileContent | 
| Library | FileContent | 
| Action | Deletes a string from a file. | 
| Parameters |           | 
| Return values |         | 
| Example | Delete all occurrences of 'covers of queen songs are great!' regardless of case, making a backup of the file before the replacement occurs. @FilePath = "C:\\temp\\Examples\\Example.conf"; @stringToBeRemoved = "AuthenticationPolicy=optional"; FileContent.FindAndDelete(FilePath: @FilePath, FindString: @stringToBeRemoved, Backup:true, CaseSensitive:false, Occurrence:"All"); | 
| Platforms | 
 | 
| Notes |