Function writeAfterCommand

Function Documentation

void writeAfterCommand(std::string &str, const std::string &command, const std::string &addedStr)

function that writes a string after a command

Parameters:
  • str – string to be modified passed by reference

  • command – command string after which the string is to be written

  • addedStr – string to be written after the command