If you are using vb6 you can use the Replace function. eg
strWords = Replace(strWords, "basic", "")
otherwise you need to use Instr in a loop to replace the word.