Exercise 4-1. strtindex(s,t)