I have a text:
joiskodposkfkfsdpsstopjisjijdjnsndsjijdstopisjidinsindistopskndishf
which contains several "stop"
. I would like to find the index for all locations where "stop" occur. How can I do this? I have tried list but I only seem to get the first location then. Can you use enumerate for this?
Thanks!