how to get the second same character and index from that second character ?
string example: hello&4&I am searching the second same character
I know how to get first "&".
position = data.indexOf("&");
How to get the second "&" position ? When the 4 number is dynamic ?
Sorry for bad english.