Return Value of index() on a String

Company: Applogic networks_Software engineer intern_Oncampus_21july

Difficulty: easy