the code has no errors now, but the comparison doesnt work properly, there is no output in the new textfile except 'Search string that matches against general data:'
Even if I have two same entries in 'search.txt' and 'general.txt', there is still no output.
Perhaps the @final variable does not work properly?
Jurgen