in reply to Re: positions of all occurrences of a substring in a stringin thread positions of all occurrences of a substring in a string