Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ProgramParadise/ReadFileToArray

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ReadFileToArray

I noticed that there isn't a great example of how to write each line of a .txt file into an array. That's why I wrote this! (it works on all browsers ONLY when web hosted)


This program grabs any text file that you give the address for and converts it into an array (for you to iterate through). This program has been used to create an automatic "Quote of the Month" segment for websites. For an example of what this might look like, head to my website and scroll to the bottom of the homepage.

Feel free to use/modify my code, however please credit me (if you do so). I spent much longer on this program than it should've taken (and I have a newfound appreciation for javascript and its jankiness).

About

I noticed that there isn't a great example of how to write each line of a .txt file into an array. That's why I wrote this! (it works on all browsers ONLY when web hosted)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.