JString::strpos

UTF-8 aware alternative to strpos.

Find position of first occurrence of a string.