tinear10 1 Posted January 22, 2013 Report Share Posted January 22, 2013 I am trying to pull data from CSV file. We can call it username, password for the explanation. How can I enter the correlated or "paired" data randomly? Example First row - usename1|password1Second row - usename2|password2Third row - usename3|password3 How do I use information randomly from one of these rows but still keep the row together? I hope that questions makes sense. I can explain further. Thank you for your help. Quote Link to post Share on other sites
VaultBoss 310 Posted January 22, 2013 Report Share Posted January 22, 2013 Load the data from file into a table. Then select the table row with a random value and extract each cell from the row to a separate variable (user and password) but with the same previous randomly generated index. Quote Link to post Share on other sites
tinear10 1 Posted January 22, 2013 Author Report Share Posted January 22, 2013 I will give it a try. Thank you very much for your quick reply. Quote Link to post Share on other sites
tinear10 1 Posted January 22, 2013 Author Report Share Posted January 22, 2013 Your explanation worked for me. I am not sure if the way I did it is the most elegant solution but it seems to be working. I attached what I have so far in case anyone else has a need for it. I think it could be useful for things like random screen resolutions too. Thanks Random Account Info.ubotaccount_info.csv 1 Quote Link to post Share on other sites
VaultBoss 310 Posted January 22, 2013 Report Share Posted January 22, 2013 Glad I could help you... Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.