Below are revisions for this snippet.

randomLineFromString





Syndication

Revision Revison 1
A function that will either read a file or read a string, and parse a random line from it. Very simple.