Returns the first occurrence of a text value in list and returns its position starting at startOffset.