def delete_from(to_delete, string, pos):
    """
    Deletes instance of 'str' in 'data' at this 'pos'
    :param to_delete: string to be deleted from 'string'
    :param string: string from which 'to_delete' will be deleted
    :param pos: position of 'string' to delete
    """
    data_array = list(string)
    for i in range(len(to_delete)):
        data_array.pop(pos)
    return "".join(data_array)