HCLTech Interview Question

Find the second occurance of an element in a string