I´m making a learning tool, and I have a 6000 word list as a txt file, the words separated by newline.
1. How do I read it into an array? I know it should be in a Json format, but I can´t seem to find pointers as to how to edit the list to the correct format. (Hoping for a search and replace job on the list.)
2. Is searching a 6000 element array fast enough to check for the existence of a word?
By this I mean that when the user suggests a word I want to run it through the array using "contains value" to see if it is correct, without making the user wait.
Any help would be appreciated.