Thnanks for the reply
I left out the var. assignment but you understood what I was lookimg for.
Your code appears the samne as my own, unles I have missed something vital. The problem is this:-
I am searching a database for instances of a certain phrase but I am matching more than I would like...