Skip to contents

Find string and replace in file

Usage

search_replace_in_file(files = c(), find = NULL, replacement = NULL)

Arguments

files

vector of files

find

find what string, vector of character

replacement

replace with what, vector of character, should be equal in length to `find`

Value

Function does not return a value but edits files on disk