I need to speed up the amount of time it takes to find a word in a large dictionary array. I have found some examples on google, but I can not figure out where to plug in the array and the word that I am searching for. It would be really helpful if someone could either help explain this to me or something similar.
This is what I am currently doing.
MatchFound = false
for o=1,#DictionaryArray do
if(DiplayWordText.text == DictionaryArray[o])then
MatchFound = true;
end
end [import]uid: 4871 topic_id: 1582 reply_id: 301582[/import]
