def find_last_slash(string):
    """
    Search for / in a string. If one or more / was found, divide the string in a list of two string:
    the first containf all the character at left of the last / (included),
    and the second contains the remanent part of the text.
    If no / was found, the first element of the list will be set to ''
    """
    len_string = len(string)
    check = 0
    index = []
    i = 0
    for chara in string:
        if chara == "/" or chara == "\\":
            index.append(i)
            check = 1
        i += 1

    if check == 1:
        last_slash = max(index)
        output_string = [string[0 : last_slash + 1], string[last_slash + 1 :]]
    else:
        output_string = ["", string]
    return output_string