![]() |
How do you shuffle the lines of a text file?
Found some PHP options, but I'd rather paste it into a text box and have javascript do it or something.
|
There is no PHP-like shuffle function in JavaScript, so you have to do it like this:
Code:
shuffle = function(myArray) { |
Quote:
|
Thanks a lot.
Bump for anyone who wanted to randomize a big list of FHG's. |
All times are GMT -7. The time now is 09:39 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123