code: def _string_remove_slice(input_str, start, end):
          
          if 0 <= start < end <= len(input_str):
              return input_str[:start] + input_str[end:]
          return input_str
docs: 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