s1 s2 isSubstr pos If s1 is a substring of s2, isSubstr returns the position in s2 from which s1 is contained in s2. If s1 is not a substring of s2, then isSubstr returns -1.