pub fn splice( file: &str, text: &str, name: &str, content: &str, ) -> Result<String, String>
text, the contents of file, with region name replaced by content. An error when the region’s markers are missing.
text
file
name
content