Find the first occurrence of a string