If you use the 'comparison' argument, you have to include a 'start'.


In that example, it starts at the front end of the string, and will return the first match position.

If you need repeditive search, then return the Instr position and use that next time around as the 'start' position.


(Also see InstrRev (VB6))




Bruce.