I am trying to convert a .txt deocument into an array.
The document has names in it and is structured like this:
Name1
Name2
Name3
The program has to read the lines and the output should be
["Name1","Name2","Name3"].
I have looked all over the internet, but most solutions just involve node.js, which i cannot install on the computer I need the software on, or some complex xmlhttp code I do not understand. I am just looking for a simple solution.
Can anybody help?