Searches a string for an occurrence of a substring and returns the UTF-8 code point index of the first occurence. If the substring is not found, returns -1.