I want to replace a particular string but the nth occurrence is dynamic.
if string.indexOf has the occurence it would be great..
What is the simplest way?
Thanks
I want to replace a particular string but the nth occurrence is dynamic.
if string.indexOf has the occurence it would be great..
What is the simplest way?
Thanks