If there are 14 tokens you'd need to change the code to:
Code:
$hfind(Table,$instok($replace($str(*.,[color:red]14[/color]),.,$chr(9)),%matchtext,5,9),1,w).data


But that's gonna make it take even longer to search. You could try the regular expression code I gave, there's a slight possibility it'll run faster than regular wildcards for this. Beyond that I'm afraid there's not much to be done about the speed beyond changing the way you're storing the data.


Spelling mistakes, grammatical errors, and stupid comments are intentional.