@staticmethod
def _strip_command(command_string, output):
    """
        Strip command_string from output string

        Cisco IOS adds backspaces into output for long commands (i.e. for commands that line wrap)
        """
    backspace_char = '\x08'
    if backspace_char in output:
        output = output.replace(backspace_char, '')
        output_lines = output.split('\n')
        new_output = output_lines[1:]
        return '\n'.join(new_output)
    else:
        command_length = len(command_string)
        return output[command_length:]
