Locates the first occurence of value within str.
string to search for "value"
element value to find
start index
the index of the first element with value "value" or the index of the last examined element + 1
See Implementation
Locates the first occurence of value within str.