Reg: Replacement of second occurance of character in string
Consider one string1 = 'ABCDAE' OR string2 = 'SHEETAL'.
I want to replace the second occurance of A in above string1.and second occurance of E in above string2 with any differnt character.
I tried with offset calculation , length , replace , split stmts.
but always first occurance is getting replace.
Please provide your ideas.