code: function replaceAt(content, index, oldString, newString) {
    logger.debug(`Replacing ${oldString} with ${newString} at index ${index}`);
    return (
      content.substr(0, index) +
      newString +
      content.substr(index + oldString.length)
    );
  }
docs: Replace oldString with newString at location index of content