def get_list_index(ls_object=[], find_str=""):
    """
    find a string index from list provided.
    :param ls_object: <list> the list to find the string frOpenMaya.
    :param find_str: <str> the string to find inside the list.
    :return: <int> the found index. -1 if not found.
    """
    try:
        return ls_object.index(find_str)
    except ValueError:
        return -1