in reply to Re: Detecting position of a substring within a stringin thread Detecting position of a substring within a string