code: def strip_command(self, command_string, output):
          
          backspace_char = "\x08"
  
          # Check for line wrap (remove backspaces)
          if backspace_char in output:
              output = output.replace(backspace_char, "")
              output_lines = output.split(self.RESPONSE_RETURN)
              new_output = output_lines[1:]
              return self.RESPONSE_RETURN.join(new_output)
          else:
              command_length = len(command_string)
              return output[command_length:]
docs: Strip command_string from output string
  
          Cisco IOS adds backspaces into output for long commands (i.e. for commands that line wrap)
  
          :param command_string: The command string sent to the device
          :type command_string: str
  
          :param output: The returned output as a result of the command string sent to the device
          :type output: str