Function deleteCommand

Function Documentation

void deleteCommand(std::string &str, const std::string &command)

function that deletes a command from a string

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

  • command – command string to be deleted