I need to know how can I find ALL the position of a group of letters in a string. For example, in the string "Canyoucanacanasacannercancanacan" the letters "an" recur 7 times. I want to know the exact position of each one, possibly in a list. How can I do?
Thank you!