i think my question is probably pretty simple, but i cant seem to find a solution that doesn’t look way too complex. basically im just trying to generate a random number (say between 1 and 100) and whatever that number is, i want to retrieve that line from a specified text file. i can generate the number, open the file and everything, it’s just a matter of getting one particular line.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Loadin random line from .txt file
|
0 | 70 | March 22, 2004 | |
Loadin random line from .txt file
|
0 | 83 | March 22, 2004 | |
Finding line of keyword in a text file
|
0 | 74 | February 16, 2007 | |
Return only one line? | 0 | 90 | December 18, 2008 | |
Displaying text from txt file
|
3 | 111 | March 16, 2002 |