<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _string_remove_slice(input_str, start, end):
 """ Removes portions of a string :param input_str: str, input string :param start: int, end search index :param end: int, start search index :return: str, the cut string """

        if 0 <= start < end <= len(input_str):
            return input_str[:start] + input_str[end:]
        return input_str