Pergunta de entrevista da empresa Pocket Gems

StrStr Input: string1 = helloworld string2 = world return: index