6sense interview question

Find the switch index in a long string