'Returns the index of the first occurrence of the ``value`` on the list.
The search can be narrowed to the selected sublist by the ``start`` and
``end`` indexes having the same semantics as with `Get Slice From List`
keyword. In case the value is not found, -1 is returned. The given list
is never altered by this keyword.
Example:
| ${x} = | Get Index From List | ${L5} | d |
| ${x} = 3
| ${L5} is not changed'

def get_index_from_list(self, list_, value, start=0, end=None):

    if (start == ''):
        start = 0
    list_ = self.get_slice_from_list(list_, start, end)
    try:
        return (int(start) + list_.index(value))
    except ValueError:
        return (-1)
