T
Theo van der Ster
Hi,
I often use text files to store reference information such as quotes,
dictionary definitions, synonyms, etc. For searching, I go through all
paragraphs and use Instr to find the word or words I'm looking for.
My question is: Is there a way to confine Instr to looking for whole
words only? I sometimes resort to tricks, such as looking for
space+word+space but then I miss the words at the start and the
beginning of the paragraph, and then there are of course full stops,
commas, etc.
TIA,
Theo
I often use text files to store reference information such as quotes,
dictionary definitions, synonyms, etc. For searching, I go through all
paragraphs and use Instr to find the word or words I'm looking for.
My question is: Is there a way to confine Instr to looking for whole
words only? I sometimes resort to tricks, such as looking for
space+word+space but then I miss the words at the start and the
beginning of the paragraph, and then there are of course full stops,
commas, etc.
TIA,
Theo