I need to load an array from a .txt file. It has few strings separated by commas (,).
So far I have found this.
That guy splits it with .split function but I have a problem. He uses an input to upload the file, however, I need to link the file to the HTML and than split it into an array and use it.